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.

96 lines
2.3 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1997 - 1999
  4. Module Name:
  5. LocalFileLoggingNode.h
  6. Abstract:
  7. Header file for the CLocalFileLoggingNode subnode
  8. See LocalFileLoggingNode.cpp for implementation.
  9. Author:
  10. Michael A. Maguire 12/15/97
  11. Revision History:
  12. mmaguire 12/15/97 - created
  13. --*/
  14. //////////////////////////////////////////////////////////////////////////////
  15. #if !defined(_IAS_LOCAL_FILE_LOGGING_NODE_H_)
  16. #define _IAS_LOCAL_FILE_LOGGING_NODE_H_
  17. #include "loggingmethod.h"
  18. class CLoggingMachineNode;
  19. class CLocalFileLoggingPage1;
  20. class CLocalFileLoggingPage2;
  21. class CLocalFileLoggingNode : public LoggingMethod
  22. {
  23. public:
  24. SNAPINMENUID(IDM_LOCAL_FILE_LOGGING_NODE)
  25. BEGIN_SNAPINTOOLBARID_MAP(CLocalFileLoggingNode)
  26. // SNAPINTOOLBARID_ENTRY(IDR_CLIENT1_TOOLBAR)
  27. // SNAPINTOOLBARID_ENTRY(IDR_CLIENT2_TOOLBAR)
  28. END_SNAPINTOOLBARID_MAP()
  29. // Constructor/Destructor.
  30. CLocalFileLoggingNode( CSnapInItem * pParentNode );
  31. virtual ~CLocalFileLoggingNode() throw ();
  32. virtual HRESULT LoadCachedInfoFromSdo() throw ();
  33. // Used to get access to snapin-global data.
  34. CLoggingComponentData * GetComponentData( void );
  35. // Used to get access to server-global data.
  36. CLoggingMachineNode * GetServerRoot( void );
  37. // Some overrides for standard MMC functionality.
  38. STDMETHOD(CreatePropertyPages)(
  39. LPPROPERTYSHEETCALLBACK pPropertySheetCallback
  40. , LONG_PTR handle
  41. , IUnknown* pUnk
  42. , DATA_OBJECT_TYPES type
  43. );
  44. STDMETHOD(QueryPagesFor)( DATA_OBJECT_TYPES type );
  45. virtual HRESULT OnPropertyChange(
  46. LPARAM arg
  47. , LPARAM param
  48. , IComponentData * pComponentData
  49. , IComponent * pComponent
  50. , DATA_OBJECT_TYPES type
  51. );
  52. OLECHAR* GetResultPaneColInfo(int nCol);
  53. virtual HRESULT SetVerbs( IConsoleVerb * pConsoleVerb );
  54. private:
  55. // This string contains a cache of the info from the SDO
  56. // which will show up in the description column for this node.
  57. // In the case of the local file logging node,
  58. // this is the log file directory.
  59. CComBSTR m_bstrDescription;
  60. };
  61. #endif // _IAS_LOCAL_FILE_LOGGING_NODE_H_