⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wmiwah.h

📁 windows 2000/xpWDM设备驱动程序开发光盘代码
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -