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.

45 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. int m_nCount;
  18. public:
  19. COleInPlaceObject::COleInPlaceObject(CSimpSvrObj FAR * lpSimpSvrObj)
  20. {
  21. m_lpObj = lpSimpSvrObj;
  22. m_nCount = 0;
  23. };
  24. COleInPlaceObject::~COleInPlaceObject() {};
  25. // IUnknown Methods
  26. STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppvObj);
  27. STDMETHODIMP_(ULONG) AddRef ();
  28. STDMETHODIMP_(ULONG) Release ();
  29. STDMETHODIMP InPlaceDeactivate ();
  30. STDMETHODIMP UIDeactivate () ;
  31. STDMETHODIMP SetObjectRects ( LPCRECT lprcPosRect, LPCRECT lprcClipRect);
  32. STDMETHODIMP GetWindow ( HWND FAR* lphwnd) ;
  33. STDMETHODIMP ContextSensitiveHelp ( BOOL fEnterMode);
  34. STDMETHODIMP ReactivateAndUndo ();
  35. };
  36. #endif