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.

35 lines
1.0 KiB

  1. // $$ClassType$$PS.h : Declaration of the C$$ClassType$$PS
  2. #ifndef __$$ClassType$$PS_H_
  3. #define __$$ClassType$$PS_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // C$$ClassType$$PS
  7. class ATL_NO_VTABLE C$$ClassType$$PS :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<C$$ClassType$$PS, &CLSID_$$ClassType$$PS>,
  10. public IShellPropSheetExt, public IShellExtInit
  11. {
  12. public:
  13. C$$ClassType$$PS()
  14. {
  15. }
  16. STDMETHODIMP Initialize (LPCITEMIDLIST pidlFolder, LPDATAOBJECT lpdobj,
  17. HKEY hkeyProgID);
  18. STDMETHODIMP AddPages(LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam);
  19. STDMETHODIMP ReplacePage(UINT uPageID, LPFNADDPROPSHEETPAGE lpfnReplaceWith, LPARAM lParam);
  20. DECLARE_REGISTRY_RESOURCEID(IDR_SHELLEXTENSIONS)
  21. BEGIN_COM_MAP(C$$ClassType$$PS)
  22. COM_INTERFACE_ENTRY(IShellPropSheetExt)
  23. COM_INTERFACE_ENTRY(IShellExtInit)
  24. END_COM_MAP()
  25. public:
  26. };
  27. #endif //__$$ClassType$$PS_H_