Source code of Windows XP (NT5)
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.
|
|
//---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996
//
// File: cfserv.hxx
//
// Contents: Contains definitions for the following objects
// CWinNTFileService and CWinNTFSFileServiceGeneralInfo
//
//
// History: 01/04/96 ramv (Ram Viswanathan) Created.
//
//----------------------------------------------------------------------------
class CPropertyCache;
class CWinNTFileService: INHERIT_TRACKING, public CCoreADsObject, public ISupportErrorInfo, public IADsFileService, public IADsFileServiceOperations, public IADsContainer, public IADsPropertyList, public INonDelegatingUnknown, public IADsExtension {
public:
/* IUnknown methods */ STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj);
STDMETHODIMP_(ULONG) AddRef(void);
STDMETHODIMP_(ULONG) Release(void);
// INonDelegatingUnknown methods
STDMETHOD(NonDelegatingQueryInterface)(THIS_ const IID&, void ** );
DECLARE_NON_DELEGATING_REFCOUNTING
DECLARE_IDispatch_METHODS;
DECLARE_ISupportErrorInfo_METHODS;
DECLARE_IADs_METHODS;
DECLARE_IADsService_METHODS;
DECLARE_IADsFileService_METHODS;
DECLARE_IADsServiceOperations_METHODS;
DECLARE_IADsFileServiceOperations_METHODS;
DECLARE_IADsContainer_METHODS;
DECLARE_IADsPropertyList_METHODS;
DECLARE_IADsExtension_METHODS;
//
// constructor and destructor
//
CWinNTFileService();
~CWinNTFileService();
static HRESULT CreateFileService(LPTSTR pszADsParent, DWORD dwParentId, LPTSTR pszDomainName, LPTSTR pszServerName, LPTSTR pszServiceName, DWORD dwObject, REFIID riid, CWinNTCredentials& Credentials, LPVOID * ppvoid );
static HRESULT CWinNTFileService::AllocateFileServiceObject( CWinNTFileService ** ppFileService );
STDMETHOD(ImplicitGetInfo)(void);
protected:
STDMETHOD(SetLevel1005Info)(THIS); STDMETHOD(GetInfo)(THIS_ DWORD dwApiLevel, BOOL fExplicit) ; STDMETHOD(GetLevel101Info)(THIS_ BOOL fExplicit);
IADsService * _pService; IADsServiceOperations * _pServiceOps;
CAggregatorDispMgr * _pDispMgr; CADsExtMgr FAR * _pExtMgr; LPWSTR _pszServerName; VARIANT _vFilter; CPropertyCache * _pPropertyCache; CWinNTCredentials _Credentials; };
|