Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. //**********************************************************************
  2. // File name: ioipo.h
  3. //
  4. // Definition of COleInPlaceObject
  5. //
  6. // Copyright (c) 1993 Microsoft Corporation. All rights reserved.
  7. //**********************************************************************
  8. #if !defined( _IOIPO_H_)
  9. #define _IOIPO_H_
  10. #include <ole2.h>
  11. #include "obj.h"
  12. class CSimpSvrObj;
  13. interface COleInPlaceObject : public IOleInPlaceObject
  14. {
  15. private:
  16. CSimpSvrObj FAR * m_lpObj;
  17. public:
  18. COleInPlaceObject::COleInPlaceObject(CSimpSvrObj FAR * lpSimpSvrObj)
  19. {
  20. m_lpObj = lpSimpSvrObj;
  21. };
  22. COleInPlaceObject::~COleInPlaceObject() {};
  23. // IUnknown Methods
  24. STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppvObj);
  25. STDMETHODIMP_(ULONG) AddRef ();
  26. STDMETHODIMP_(ULONG) Release ();
  27. STDMETHODIMP InPlaceDeactivate ();
  28. STDMETHODIMP UIDeactivate () ;
  29. STDMETHODIMP SetObjectRects ( LPCRECT lprcPosRect, LPCRECT lprcClipRect);
  30. STDMETHODIMP GetWindow ( HWND FAR* lphwnd) ;
  31. STDMETHODIMP ContextSensitiveHelp ( BOOL fEnterMode);
  32. STDMETHODIMP ReactivateAndUndo ();
  33. };
  34. #endif
  35.