windows-nt/Source/XPSP1/NT/com/oleutest/simpsvr/ioipo.h
2020-09-26 16:20:57 +08:00

44 lines
1.1 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//**********************************************************************
// File name: ioipo.h
//
// Definition of COleInPlaceObject
//
// Copyright (c) 1993 Microsoft Corporation. All rights reserved.
//**********************************************************************
#if !defined( _IOIPO_H_)
#define _IOIPO_H_
#include <ole2.h>
#include "obj.h"
class CSimpSvrObj;
interface COleInPlaceObject : public IOleInPlaceObject
{
private:
CSimpSvrObj FAR * m_lpObj;
public:
COleInPlaceObject::COleInPlaceObject(CSimpSvrObj FAR * lpSimpSvrObj)
{
m_lpObj = lpSimpSvrObj;
};
COleInPlaceObject::~COleInPlaceObject() {};
// IUnknown Methods
STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppvObj);
STDMETHODIMP_(ULONG) AddRef ();
STDMETHODIMP_(ULONG) Release ();
STDMETHODIMP InPlaceDeactivate ();
STDMETHODIMP UIDeactivate () ;
STDMETHODIMP SetObjectRects ( LPCRECT lprcPosRect, LPCRECT lprcClipRect);
STDMETHODIMP GetWindow ( HWND FAR* lphwnd) ;
STDMETHODIMP ContextSensitiveHelp ( BOOL fEnterMode);
STDMETHODIMP ReactivateAndUndo ();
};
#endif