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.
92 lines
2.2 KiB
92 lines
2.2 KiB
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Module Name:
|
|
// IISClusCfg.h
|
|
//
|
|
// Implementation Files:
|
|
// IISClusCfg.cpp
|
|
//
|
|
// Description:
|
|
// Header file for the IClusCfgStarutpListener sample program.
|
|
//
|
|
// Maintained By:
|
|
// Galen Barbee (GalenB) 24-SEP-2001
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Include Files
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
// Our Class Id GUID declaration(s)
|
|
//
|
|
|
|
#include "IISClusCfgGuids.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//++
|
|
//
|
|
// class CIISClusCfg
|
|
//
|
|
// Description:
|
|
// The CIISClusCfg class is the implementation of the
|
|
// IClusCfgStartupListener interface.
|
|
//
|
|
//--
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
class CIISClusCfg
|
|
: public IClusCfgStartupListener,
|
|
public IClusCfgEvictListener
|
|
{
|
|
private:
|
|
|
|
// IUnknown
|
|
LONG m_cRef;
|
|
|
|
// Private constructors and destructors
|
|
CIISClusCfg( void );
|
|
~CIISClusCfg( void );
|
|
|
|
// Private copy constructor to prevent copying.
|
|
CIISClusCfg( const CIISClusCfg & rSrcIn );
|
|
|
|
// Private assignment operator to prevent copying.
|
|
const CIISClusCfg & operator = ( const CIISClusCfg & rSrcIn );
|
|
|
|
HRESULT HrInit( void );
|
|
HRESULT HrCleanupResourceTypes( void );
|
|
|
|
public:
|
|
|
|
//
|
|
// Public, non interface methods.
|
|
//
|
|
|
|
static HRESULT S_HrCreateInstance( IUnknown ** ppunkOut );
|
|
|
|
static HRESULT S_HrRegisterCatIDSupport( ICatRegister * picrIn, BOOL fCreateIn );
|
|
|
|
//
|
|
// IUnknown
|
|
//
|
|
|
|
STDMETHOD( QueryInterface )( REFIID riidIn, void ** ppvOut );
|
|
STDMETHOD_( ULONG, AddRef )( void );
|
|
STDMETHOD_( ULONG, Release )( void );
|
|
|
|
//
|
|
// IClusCfgStartupListener
|
|
//
|
|
|
|
STDMETHOD( Notify ) ( IUnknown * punkIn );
|
|
|
|
//
|
|
// IClusCfgEvictListener
|
|
//
|
|
|
|
STDMETHOD( EvictNotify )( LPCWSTR pcszNodeNameIn );
|
|
|
|
}; //*** class CIISClusCfg
|