windows-nt/Source/XPSP1/NT/shell/services/hdsrv/shhwdtct/miscdev.h

47 lines
897 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "namellst.h"
#include "hwdev.h"
#include "cmmn.h"
#include "misc.h"
class CMiscDeviceInterface : public CNamedElem
{
public:
// CNamedElem
HRESULT Init(LPCWSTR pszElemName);
// CMiscDeviceInterface
HRESULT InitInterfaceGUID(const GUID* pguidInterface);
HRESULT GetHWDeviceInst(CHWDeviceInst** pphwdevinst);
public:
static HRESULT Create(CNamedElem** ppelem);
public:
CMiscDeviceInterface();
~CMiscDeviceInterface();
private:
CHWDeviceInst _hwdevinst;
};
class CMiscDeviceNode : public CNamedElem
{
public:
// CNamedElem
HRESULT Init(LPCWSTR pszElemName);
// CMiscDeviceNode
HRESULT GetHWDeviceInst(CHWDeviceInst** pphwdevinst);
public:
static HRESULT Create(CNamedElem** ppelem);
public:
CMiscDeviceNode();
~CMiscDeviceNode();
private:
CHWDeviceInst _hwdevinst;
};