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.

55 lines
1.2 KiB

  1. /*
  2. * inetps.hpp - Property sheet implementation for Internet class.
  3. */
  4. /* GUIDs
  5. ********/
  6. #ifndef UNIX
  7. // IEUNIX : conflicts with ..\..\inc\shguidp.h
  8. DEFINE_GUID(CLSID_Internet, 0xFBF23B42L, 0xE3F0, 0x101B, 0x84, 0x88, 0x00, 0xAA, 0x00, 0x3E, 0x56, 0xF8);
  9. #endif
  10. #ifdef __cplusplus
  11. /* Types
  12. ********/
  13. // Internet property sheet
  14. class Internet : public RefCount,
  15. public IShellExtInit,
  16. public IShellPropSheetExt
  17. {
  18. public:
  19. Internet(void);
  20. ~Internet(void);
  21. // IShellExtInit methods
  22. HRESULT STDMETHODCALLTYPE Initialize(PCITEMIDLIST pcidlFolder, PIDataObject pidobj, HKEY hkeyProgID);
  23. // IShellPropSheetExt methods
  24. HRESULT STDMETHODCALLTYPE AddPages(LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam);
  25. HRESULT STDMETHODCALLTYPE ReplacePage(UINT uPageID, LPFNADDPROPSHEETPAGE pfnReplaceWith, LPARAM lParam);
  26. // IUnknown methods
  27. HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, PVOID *ppvObj);
  28. ULONG STDMETHODCALLTYPE AddRef(void);
  29. ULONG STDMETHODCALLTYPE Release(void);
  30. // friends
  31. #ifdef DEBUG
  32. friend BOOL IsValidPCInternet(const Internet *pcmimehk);
  33. #endif
  34. };
  35. DECLARE_STANDARD_TYPES(Internet);
  36. #endif /* __cplusplus */