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.
|
|
/********************************************************************
Copyright (c) 1999 Microsoft Corporation
Module Name: PCH_DeviceDriver.H
Abstract: WBEM provider class definition for PCH_DeviceDriver class
Revision History:
Ghim-Sim Chua (gschua) 04/27/99 - Created
********************************************************************/
// Property set identification
//============================
#ifndef _PCH_DeviceDriver_H_
#define _PCH_DeviceDriver_H_
#define PROVIDER_NAME_PCH_DEVICEDRIVER "PCH_DeviceDriver"
// Property name externs -- defined in PCH_DeviceDriver.cpp
//=================================================
extern const WCHAR* pTimeStamp ; extern const WCHAR* pChange ; extern const WCHAR* pDate ; extern const WCHAR* pFilename ; extern const WCHAR* pManufacturer ; extern const WCHAR* pName ; extern const WCHAR* pSize ; extern const WCHAR* pVersion ;
class CPCH_DeviceDriver : public Provider { public: // Constructor/destructor
//=======================
CPCH_DeviceDriver(const CHString& chsClassName, LPCWSTR lpszNameSpace) : Provider(chsClassName, lpszNameSpace) {}; virtual ~CPCH_DeviceDriver() {};
protected: // Reading Functions
//============================
virtual HRESULT EnumerateInstances(MethodContext* pMethodContext, long lFlags = 0L); virtual HRESULT GetObject(CInstance* pInstance, long lFlags = 0L) { return (WBEM_E_PROVIDER_NOT_CAPABLE); }; virtual HRESULT ExecQuery(MethodContext *pMethodContext, CFrameworkQuery& Query, long lFlags = 0L) { return (WBEM_E_PROVIDER_NOT_CAPABLE); };
// Writing Functions
//============================
virtual HRESULT PutInstance(const CInstance& Instance, long lFlags = 0L) { return (WBEM_E_PROVIDER_NOT_CAPABLE); }; virtual HRESULT DeleteInstance(const CInstance& Instance, long lFlags = 0L) { return (WBEM_E_PROVIDER_NOT_CAPABLE); };
// Other Functions
virtual HRESULT ExecMethod( const CInstance& Instance, const BSTR bstrMethodName, CInstance *pInParams, CInstance *pOutParams, long lFlags = 0L ) { return (WBEM_E_PROVIDER_NOT_CAPABLE); };
private: virtual HRESULT CreateDriverInstances(CHString chstrDriverName, CConfigMgrDevice *pDevice, MethodContext *pMethodContext); } ;
#endif
|