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

//////////////////////////////////////////////////////////////////////////////
/*++
Copyright (C) Microsoft Corporation, 1997 - 1999
Module Name:
LocalFileLoggingNode.h
Abstract:
Header file for the CLocalFileLoggingNode subnode
See LocalFileLoggingNode.cpp for implementation.
Author:
Michael A. Maguire 12/15/97
Revision History:
mmaguire 12/15/97 - created
--*/
//////////////////////////////////////////////////////////////////////////////
#if !defined(_IAS_LOCAL_FILE_LOGGING_NODE_H_)
#define _IAS_LOCAL_FILE_LOGGING_NODE_H_
#include "loggingmethod.h"
class CLoggingMachineNode;
class CLocalFileLoggingPage1;
class CLocalFileLoggingPage2;
class CLocalFileLoggingNode : public LoggingMethod
{
public:
SNAPINMENUID(IDM_LOCAL_FILE_LOGGING_NODE)
BEGIN_SNAPINTOOLBARID_MAP(CLocalFileLoggingNode)
// SNAPINTOOLBARID_ENTRY(IDR_CLIENT1_TOOLBAR)
// SNAPINTOOLBARID_ENTRY(IDR_CLIENT2_TOOLBAR)
END_SNAPINTOOLBARID_MAP()
// Constructor/Destructor.
CLocalFileLoggingNode( CSnapInItem * pParentNode );
virtual ~CLocalFileLoggingNode() throw ();
virtual HRESULT LoadCachedInfoFromSdo() throw ();
// Used to get access to snapin-global data.
CLoggingComponentData * GetComponentData( void );
// Used to get access to server-global data.
CLoggingMachineNode * GetServerRoot( void );
// Some overrides for standard MMC functionality.
STDMETHOD(CreatePropertyPages)(
LPPROPERTYSHEETCALLBACK pPropertySheetCallback
, LONG_PTR handle
, IUnknown* pUnk
, DATA_OBJECT_TYPES type
);
STDMETHOD(QueryPagesFor)( DATA_OBJECT_TYPES type );
virtual HRESULT OnPropertyChange(
LPARAM arg
, LPARAM param
, IComponentData * pComponentData
, IComponent * pComponent
, DATA_OBJECT_TYPES type
);
OLECHAR* GetResultPaneColInfo(int nCol);
virtual HRESULT SetVerbs( IConsoleVerb * pConsoleVerb );
private:
// This string contains a cache of the info from the SDO
// which will show up in the description column for this node.
// In the case of the local file logging node,
// this is the log file directory.
CComBSTR m_bstrDescription;
};
#endif // _IAS_LOCAL_FILE_LOGGING_NODE_H_