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.

49 lines
1009 B

  1. /*++
  2. Copyright (C) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. about.h
  5. Abstract:
  6. header file defines CDevMgrAbout class
  7. Author:
  8. William Hsieh (williamh) created
  9. Revision History:
  10. --*/
  11. #ifndef __ABOUT_H_
  12. #define __ABOUT_H_
  13. class CDevMgrAbout : public ISnapinAbout
  14. {
  15. public:
  16. CDevMgrAbout() :m_Ref(1)
  17. {}
  18. // IUNKNOWN interface
  19. STDMETHOD_(ULONG, AddRef)();
  20. STDMETHOD_(ULONG, Release)();
  21. STDMETHOD(QueryInterface)(REFIID riid, void** ppv);
  22. // ISnapinAbout interface
  23. STDMETHOD(GetSnapinDescription)(LPOLESTR *ppDescription);
  24. STDMETHOD(GetProvider)(LPOLESTR* ppProvider);
  25. STDMETHOD(GetSnapinVersion)(LPOLESTR *ppVersion);
  26. STDMETHOD(GetSnapinImage)(HICON *phIcon);
  27. STDMETHOD(GetStaticFolderImage)(HBITMAP* phSmall,
  28. HBITMAP* phSmallOpen,
  29. HBITMAP* phLarge,
  30. COLORREF* pcrMask);
  31. private:
  32. HRESULT LoadResourceOleString(int StringId, LPOLESTR* ppString);
  33. ULONG m_Ref;
  34. };
  35. #endif