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.

73 lines
2.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : DevicesAndProviders.h //
  3. // //
  4. // DESCRIPTION : Header file for CFaxDevicesAndProvidersNode class //
  5. // This is the "Fax" node in the scope pane. //
  6. // //
  7. // AUTHOR : yossg //
  8. // //
  9. // HISTORY : //
  10. // Sep 22 1999 yossg Create //
  11. // Dec 9 1999 yossg Reorganize Populate ChildrenList, //
  12. // and the call to InitDisplayName //
  13. // //
  14. // //
  15. // Copyright (C) 1999 Microsoft Corporation All Rights Reserved //
  16. /////////////////////////////////////////////////////////////////////////////
  17. #ifndef H_DEVICESANDPROVIDERS_H
  18. #define H_DEVICESANDPROVIDERS_H
  19. //#pragma message( "H_DEVICESANDPROVIDERS_H" )
  20. #include "snapin.h"
  21. #include "snpnscp.h"
  22. class CFaxServerNode;
  23. class CFaxDevicesAndProvidersNode : public CNodeWithScopeChildrenList<CFaxDevicesAndProvidersNode, FALSE>
  24. {
  25. public:
  26. BEGIN_SNAPINCOMMAND_MAP(CFaxDevicesAndProvidersNode, FALSE)
  27. END_SNAPINCOMMAND_MAP()
  28. BEGIN_SNAPINTOOLBARID_MAP(CFaxDevicesAndProvidersNode)
  29. END_SNAPINTOOLBARID_MAP()
  30. SNAPINMENUID(IDR_SNAPIN_MENU)
  31. CFaxDevicesAndProvidersNode(CSnapInItem * pParentNode, CSnapin * pComponentData) :
  32. CNodeWithScopeChildrenList<CFaxDevicesAndProvidersNode, FALSE>(pParentNode, pComponentData )
  33. {
  34. }
  35. ~CFaxDevicesAndProvidersNode()
  36. {
  37. }
  38. virtual HRESULT PopulateScopeChildrenList();
  39. virtual HRESULT InsertColumns(IHeaderCtrl* pHeaderCtrl);
  40. virtual HRESULT SetVerbs(IConsoleVerb *pConsoleVerb);
  41. void InitParentNode(CFaxServerNode *pParentNode)
  42. {
  43. m_pParentNode = pParentNode;
  44. }
  45. HRESULT InitDisplayName();
  46. HRESULT OnShowContextHelp(
  47. IDisplayHelp* pDisplayHelp, LPOLESTR helpFile);
  48. private:
  49. static CColumnsInfo m_ColsInfo;
  50. CFaxServerNode * m_pParentNode;
  51. };
  52. #endif //H_DEVICESANDPROVIDERS_H