52 lines
1.2 KiB
C
52 lines
1.2 KiB
C
|
//////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Copyright (c) 2000 Microsoft Corporation
|
||
|
//
|
||
|
// Module Name:
|
||
|
// EvictServices.h
|
||
|
//
|
||
|
// Description:
|
||
|
// EvictServices implementation.
|
||
|
//
|
||
|
// Maintained By:
|
||
|
// Geoffrey Pease (GPease) 15-JUN-2000
|
||
|
//
|
||
|
//////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
class
|
||
|
CEvictServices
|
||
|
: public IClusCfgResourceEvict
|
||
|
, public IPrivatePostCfgResource
|
||
|
{
|
||
|
private: // data
|
||
|
// IUnknown
|
||
|
LONG m_cRef; // Reference counter
|
||
|
|
||
|
// IPrivatePostCfgResource
|
||
|
CResourceEntry * m_presentry; // List entry that the service is to modify.
|
||
|
|
||
|
private: // methods
|
||
|
CEvictServices( void );
|
||
|
~CEvictServices( void );
|
||
|
|
||
|
HRESULT
|
||
|
HrInit(void );
|
||
|
|
||
|
public: // methods
|
||
|
static HRESULT
|
||
|
S_HrCreateInstance( IUnknown ** ppunkOut );
|
||
|
|
||
|
// IUnknown
|
||
|
STDMETHOD( QueryInterface )( REFIID riid, LPVOID *ppv );
|
||
|
STDMETHOD_( ULONG, AddRef )( void );
|
||
|
STDMETHOD_( ULONG, Release )( void );
|
||
|
|
||
|
// IClusCfgResourcePreCreate
|
||
|
STDMETHOD( DoSomethingCool )( void );
|
||
|
|
||
|
// IPrivatePostCfgResource
|
||
|
STDMETHOD( SetEntry )( CResourceEntry * presentryIn );
|
||
|
|
||
|
}; // class CEvictServices
|