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.

40 lines
1.2 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1999 **
  4. //*********************************************************************
  5. //
  6. // IOCSITE.H - Implements IOleClientSite for the WebOC
  7. //
  8. // HISTORY:
  9. //
  10. // 1/27/99 a-jaswed Created.
  11. #ifndef _IOCSITE_H_
  12. #define _IOCSITE_H_
  13. #include <objbase.h>
  14. #include <oleidl.h>
  15. class COleSite;
  16. interface COleClientSite : public IOleClientSite
  17. {
  18. COleClientSite (COleSite* pSite);
  19. ~COleClientSite ();
  20. STDMETHODIMP QueryInterface (REFIID riid, LPVOID* ppvObj);
  21. STDMETHODIMP_(ULONG) AddRef ();
  22. STDMETHODIMP_(ULONG) Release ();
  23. // *** IOleClientSite methods ***
  24. STDMETHODIMP SaveObject ();
  25. STDMETHODIMP GetMoniker (DWORD dwAssign, DWORD dwWhichMoniker, LPMONIKER* ppmk);
  26. STDMETHODIMP GetContainer (LPOLECONTAINER* ppContainer);
  27. STDMETHODIMP ShowObject ();
  28. STDMETHODIMP OnShowWindow (BOOL fShow);
  29. STDMETHODIMP RequestNewObjectLayout ();
  30. private:
  31. COleSite* m_pOleSite;
  32. int m_nCount;
  33. };
  34. #endif //_IOCSITE_H_