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.
 
 
 
 
 
 

68 lines
1.9 KiB

//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1999-2001 Microsoft Corporation
//
// Module Name:
// CPIClusCfgCallback.h
//
// Description:
// INotifyUI Connection Point implementation.
//
// Maintained By:
// Galen Barbee (GalenB) 10-NOV-2000
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
class CEnumCPICCCB;
// CCPIClusCfgCallback
class CCPIClusCfgCallback
: public IConnectionPoint
, public IClusCfgCallback
{
private:
// IUnknown
LONG m_cRef; // Reference count
// IConnectionPoint
CEnumCPICCCB * m_penum; // Connection enumerator
// INotifyUI
private: // Methods
CCPIClusCfgCallback( void );
~CCPIClusCfgCallback( void );
STDMETHOD( HrInit )( void );
public: // Methods
static HRESULT S_HrCreateInstance( IUnknown ** ppunkOut );
// IUnknown
STDMETHOD( QueryInterface )( REFIID riidIn, LPVOID * ppvOut );
STDMETHOD_( ULONG, AddRef )(void);
STDMETHOD_( ULONG, Release )(void);
// IConnectionPoint
STDMETHOD( GetConnectionInterface )( IID * pIIDOut );
STDMETHOD( GetConnectionPointContainer )( IConnectionPointContainer ** ppcpcOut );
STDMETHOD( Advise )( IUnknown * pUnkSinkIn, DWORD * pdwCookieOut );
STDMETHOD( Unadvise )( DWORD dwCookieIn );
STDMETHOD( EnumConnections )( IEnumConnections ** ppEnumOut );
// IClusCfgCallback
STDMETHOD( SendStatusReport )(
LPCWSTR pcszNodeNameIn
, CLSID clsidTaskMajorIn
, CLSID clsidTaskMinorIn
, ULONG ulMinIn
, ULONG ulMaxIn
, ULONG ulCurrentIn
, HRESULT hrStatusIn
, LPCWSTR pcszDescriptionIn
, FILETIME * pftTimeIn
, LPCWSTR pcszReferenceIn
);
}; //*** class CCPIClusCfgCallback