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.

79 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. faxsabout.h
  5. Abstract:
  6. This header is the ISnapinAbout implmentation.
  7. Environment:
  8. WIN32 User Mode
  9. Author:
  10. Darwin Ouyang (t-darouy) 30-Sept-1997
  11. --*/
  12. // FaxSnapin.h : Declaration of the CFaxSnapinAbout
  13. #ifndef __FAXSNAPINABOUT_H_
  14. #define __FAXSNAPINABOUT_H_
  15. #include "resource.h" // main symbols
  16. #include "faxadmin.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CFaxSnapinAbout
  19. class ATL_NO_VTABLE CFaxSnapinAbout :
  20. public CComObjectRootEx<CComSingleThreadModel>,
  21. public CComCoClass<CFaxSnapinAbout, &CLSID_FaxSnapinAbout>,
  22. public ISnapinAbout
  23. {
  24. public:
  25. CFaxSnapinAbout()
  26. {
  27. DebugPrint(( TEXT("FaxSnapinAbout Created") ));
  28. }
  29. ~CFaxSnapinAbout()
  30. {
  31. DebugPrint(( TEXT("FaxSnapinAbout Destroyed") ));
  32. }
  33. DECLARE_REGISTRY_RESOURCEID(IDR_FAXSNAPIN)
  34. DECLARE_NOT_AGGREGATABLE(CFaxSnapinAbout)
  35. BEGIN_COM_MAP(CFaxSnapinAbout)
  36. COM_INTERFACE_ENTRY(ISnapinAbout)
  37. END_COM_MAP()
  38. // IFaxSnapinAbout
  39. public:
  40. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinDescription(
  41. /* [out] */ LPOLESTR __RPC_FAR *lpDescription);
  42. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProvider(
  43. /* [out] */ LPOLESTR __RPC_FAR *lpName);
  44. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinVersion(
  45. /* [out] */ LPOLESTR __RPC_FAR *lpVersion);
  46. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinImage(
  47. /* [out] */ HICON __RPC_FAR *hAppIcon);
  48. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStaticFolderImage(
  49. /* [out] */ HBITMAP __RPC_FAR *hSmallImage,
  50. /* [out] */ HBITMAP __RPC_FAR *hSmallImageOpen,
  51. /* [out] */ HBITMAP __RPC_FAR *hLargeImage,
  52. /* [out] */ COLORREF __RPC_FAR *cMask);
  53. };
  54. #endif //__FAXSNAPIN_H_