windows-nt/Source/XPSP1/NT/base/cluster/mgmt/cluscfg/postcfg/postcreateservices.h

59 lines
1.7 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2000 Microsoft Corporation
//
// Module Name:
// PostCreateServices.h
//
// Description:
// PostCreateServices implementation.
//
// Maintained By:
// Geoffrey Pease (GPease) 15-JUN-2000
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
class
CPostCreateServices
: public IClusCfgResourcePostCreate
, public IPrivatePostCfgResource
{
private: // data
// IUnknown
LONG m_cRef; // Reference counter
// IPrivatePostCfgResource
CResourceEntry * m_presentry; // List entry that the service is to modify.
private: // methods
CPostCreateServices( void );
~CPostCreateServices( 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 );
// IClusCfgResourcePostCreate
STDMETHOD( ChangeName )( LPCWSTR pcszNameIn );
STDMETHOD( SendResourceControl )( DWORD dwControlCode,
LPVOID lpInBuffer,
DWORD cbInBufferSize,
LPVOID lpOutBuffer,
DWORD cbOutBufferSize,
LPDWORD lpcbBytesReturned
);
// IPrivatePostCfgResource
STDMETHOD( SetEntry )( CResourceEntry * presentryIn );
}; // class CPostCreateServices