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.
63 lines
1.1 KiB
63 lines
1.1 KiB
#ifndef _SYSTEM_HXX
|
|
#define _SYSTEM_HXX
|
|
|
|
#define MAX_DN 1024
|
|
|
|
class CWinNTSystemInfo;
|
|
|
|
|
|
class CWinNTSystemInfo : INHERIT_TRACKING,
|
|
public ISupportErrorInfo,
|
|
public IADsWinNTSystemInfo
|
|
|
|
{
|
|
public:
|
|
|
|
/* IUnknown methods */
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
|
|
|
|
DECLARE_STD_REFCOUNTING
|
|
|
|
DECLARE_IDispatch_METHODS
|
|
|
|
DECLARE_ISupportErrorInfo_METHODS
|
|
|
|
DECLARE_IADsWinNTSystemInfo_METHODS
|
|
|
|
CWinNTSystemInfo::CWinNTSystemInfo();
|
|
|
|
CWinNTSystemInfo::~CWinNTSystemInfo();
|
|
|
|
static
|
|
HRESULT
|
|
CWinNTSystemInfo::CreateWinNTSystemInfo(
|
|
REFIID riid,
|
|
void **ppvObj
|
|
);
|
|
|
|
static
|
|
HRESULT
|
|
CWinNTSystemInfo::AllocateWinNTSystemInfoObject(
|
|
CWinNTSystemInfo ** ppWinNTSystemInfo
|
|
);
|
|
|
|
protected:
|
|
|
|
CAggregatorDispMgr FAR * _pDispMgr;
|
|
|
|
};
|
|
|
|
|
|
|
|
//
|
|
// Class factory
|
|
//
|
|
|
|
class CWinNTSystemInfoCF : public StdClassFactory
|
|
{
|
|
public:
|
|
STDMETHOD(CreateInstance)(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv);
|
|
};
|
|
|
|
#endif // ifndef _SYSTEM_HXX
|
|
|