wmiwah.h
来自「WindowsXP WDM驱动程序开发实例」· C头文件 代码 · 共 50 行
H
50 行
// The corresponding CIM class definitions are in SampleFilter.mof.
// The GUID definitions are in SampleFilterGuids.h
// 8 byte alignment is required for WMI
#pragma pack(push, 8)
struct SampleActivity
{
SampleActivity(void) :
m_xClicks(0)
{ }
LONG m_xClicks;
};
struct SampleControl
{
SampleControl(void) :
m_xEventThreshold(3)
{ }
LONG m_xEventThreshold;
};
struct SampleEvent
{
SampleEvent(void) :
m_xClicks(0)
{}
ULONG m_xClicks;
};
struct SamplePdoInfo
{
KWmiString* m_pPdoName;
KWmiString* m_pPdoRegistryPath;
SamplePdoInfo(void) { m_pPdoName = m_pPdoRegistryPath = NULL; }
~SamplePdoInfo(void)
{
if ( m_pPdoName != NULL ) delete m_pPdoName;
if ( m_pPdoRegistryPath != NULL ) delete m_pPdoRegistryPath;
}
NTSTATUS Initialize(PDEVICE_OBJECT Pdo);
};
#pragma pack(pop)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?