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.
47 lines
943 B
47 lines
943 B
#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;
|
|
};
|