Leaked source code of windows server 2003
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.

52 lines
1.4 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2001.
  5. //
  6. // File:
  7. //
  8. // Contents:
  9. //
  10. //
  11. // History: TaroonM
  12. // 10/30/01
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef _ABOUT_H
  16. #define _ABOUT_H
  17. class CSnapinAboutImpl :
  18. public ISnapinAbout,
  19. public CComObjectRoot,
  20. public CComCoClass<CSnapinAboutImpl, &CLSID_About>
  21. {
  22. public:
  23. CSnapinAboutImpl();
  24. ~CSnapinAboutImpl();
  25. public:
  26. DECLARE_REGISTRY(CSnapinAboutImpl, _T("Wireless.About.1"), _T("Wireless.About"), IDS_SNAPIN_DESC, THREADFLAGS_BOTH)
  27. BEGIN_COM_MAP(CSnapinAboutImpl)
  28. COM_INTERFACE_ENTRY(ISnapinAbout)
  29. END_COM_MAP()
  30. public:
  31. STDMETHOD(GetSnapinDescription)(LPOLESTR* lpDescription);
  32. STDMETHOD(GetProvider)(LPOLESTR* lpName);
  33. STDMETHOD(GetSnapinVersion)(LPOLESTR* lpVersion);
  34. STDMETHOD(GetSnapinImage)(HICON* hAppIcon);
  35. STDMETHOD(GetStaticFolderImage)(HBITMAP* hSmallImage,
  36. HBITMAP* hSmallImageOpen,
  37. HBITMAP* hLargeImage,
  38. COLORREF* cLargeMask);
  39. // Internal functions
  40. private:
  41. HRESULT AboutHelper(UINT nID, CString* pAddString, LPOLESTR* lpPtr);
  42. HRESULT AboutHelper(UINT nID, LPOLESTR* lpPtr) {return AboutHelper(nID, NULL, lpPtr);};
  43. };
  44. #endif
  45.