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.

87 lines
2.6 KiB

  1. #if !defined(AFX_SNAPINABOUT_H__80F85333_AB10_11D2_BD62_0000F87A3912__INCLUDED_)
  2. #define AFX_SNAPINABOUT_H__80F85333_AB10_11D2_BD62_0000F87A3912__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SnapinAbout.h : header file
  7. //
  8. #include <mmc.h>
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSnapinAbout command target
  11. class CSnapinAbout : public CCmdTarget
  12. {
  13. DECLARE_DYNCREATE(CSnapinAbout)
  14. // Construction/Destruction
  15. public:
  16. CSnapinAbout();
  17. virtual ~CSnapinAbout();
  18. // Overrideable Members
  19. protected:
  20. virtual HRESULT OnGetStaticFolderImage(HBITMAP __RPC_FAR * hSmallImage,HBITMAP __RPC_FAR * hSmallImageOpen,HBITMAP __RPC_FAR * hLargeImage,COLORREF __RPC_FAR * cMask);
  21. virtual void OnGetSnapinDescription(CString& sDescription);
  22. virtual HRESULT OnGetSnapinImage(HICON __RPC_FAR *hAppIcon);
  23. // MFC Operations
  24. public:
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CSnapinAbout)
  28. public:
  29. virtual void OnFinalRelease();
  30. //}}AFX_VIRTUAL
  31. // MFC Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(CSnapinAbout)
  35. // NOTE - the ClassWizard will add and remove member functions here.
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. // Generated OLE dispatch map functions
  39. //{{AFX_DISPATCH(CSnapinAbout)
  40. // NOTE - the ClassWizard will add and remove member functions here.
  41. //}}AFX_DISPATCH
  42. DECLARE_DISPATCH_MAP()
  43. DECLARE_INTERFACE_MAP()
  44. // ISnapinAbout Interface Part
  45. BEGIN_INTERFACE_PART(SnapinAbout,ISnapinAbout)
  46. /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinDescription(
  47. /* [out] */ LPOLESTR __RPC_FAR *lpDescription);
  48. /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetProvider(
  49. /* [out] */ LPOLESTR __RPC_FAR *lpName);
  50. /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinVersion(
  51. /* [out] */ LPOLESTR __RPC_FAR *lpVersion);
  52. /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSnapinImage(
  53. /* [out] */ HICON __RPC_FAR *hAppIcon);
  54. /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStaticFolderImage(
  55. /* [out] */ HBITMAP __RPC_FAR *hSmallImage,
  56. /* [out] */ HBITMAP __RPC_FAR *hSmallImageOpen,
  57. /* [out] */ HBITMAP __RPC_FAR *hLargeImage,
  58. /* [out] */ COLORREF __RPC_FAR *cMask);
  59. END_INTERFACE_PART(SnapinAbout)
  60. };
  61. /////////////////////////////////////////////////////////////////////////////
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_SNAPINABOUT_H__80F85333_AB10_11D2_BD62_0000F87A3912__INCLUDED_)