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

📄 wmidata.h

📁 书中的主要程序文件。在打开例题的.dsw文件后,请读者在 tools菜单下的 Options 的 Directories 标签中选择 Executable files
💻 H
📖 第 1 页 / 共 5 页
字号:
#ifndef _wmidata_h_#define _wmidata_h_// MSWmi_MofData - MSWmi_MofData// This class supplies the binary mof information#define MSWmi_MofDataGuid \    { 0x05901221,0xd566,0x11d1, { 0xb2,0xf0,0x00,0xa0,0xc9,0x06,0x29,0x10 } }DEFINE_GUID(MSWmi_MofData_GUID, \            0x05901221,0xd566,0x11d1,0xb2,0xf0,0x00,0xa0,0xc9,0x06,0x29,0x10);typedef struct _MSWmi_MofData{    //     ULONG Unused1;    #define MSWmi_MofData_Unused1_SIZE sizeof(ULONG)    #define MSWmi_MofData_Unused1_ID 1    //     ULONG Unused2;    #define MSWmi_MofData_Unused2_SIZE sizeof(ULONG)    #define MSWmi_MofData_Unused2_ID 2    //     ULONG Size;    #define MSWmi_MofData_Size_SIZE sizeof(ULONG)    #define MSWmi_MofData_Size_ID 3    //     ULONG Unused4;    #define MSWmi_MofData_Unused4_SIZE sizeof(ULONG)    #define MSWmi_MofData_Unused4_ID 4    //     UCHAR BinaryMofData[1];    #define MSWmi_MofData_BinaryMofData_ID 5} MSWmi_MofData, *PMSWmi_MofData;// MSWmi_ProviderInfo - MSWmi_ProviderInfo// This class supplies additional information about a data provider. Querying this class with an instance name returned from another class query will return additional information about the instance#define MSWmi_ProviderInfoGuid \    { 0xc7bf35d0,0xaadb,0x11d1, { 0xbf,0x4a,0x00,0xa0,0xc9,0x06,0x29,0x10 } }DEFINE_GUID(MSWmi_ProviderInfo_GUID, \            0xc7bf35d0,0xaadb,0x11d1,0xbf,0x4a,0x00,0xa0,0xc9,0x06,0x29,0x10);// Warning: Header for class MSWmi_ProviderInfo cannot be createdtypedef struct _MSWmi_ProviderInfo{    char VariableData[1];} MSWmi_ProviderInfo, *PMSWmi_ProviderInfo;// MSWmi_PnPDeviceId - MSWmi_PnPDeviceId// This class supplies the PnPDeviceId for a specific device#define DATA_PROVIDER_PNPID_GUID \    { 0xc7bf35d2,0xaadb,0x11d1, { 0xbf,0x4a,0x00,0xa0,0xc9,0x06,0x29,0x10 } }DEFINE_GUID(MSWmi_PnPDeviceId_GUID, \            0xc7bf35d2,0xaadb,0x11d1,0xbf,0x4a,0x00,0xa0,0xc9,0x06,0x29,0x10);typedef struct _MSWmi_PnPDeviceId{    // PnP Device Id for the device. This property is useful for mapping from the wmi namespace to the cimv2 namespace classes using the view provider    CHAR VariableData[1];    #define MSWmi_PnPDeviceId_PnPDeviceId_ID 1} MSWmi_PnPDeviceId, *PMSWmi_PnPDeviceId;// MSWmi_PnPInstanceNames - MSWmi_PnPInstanceNames// This class supplies the Instance names associated with a PnP Device Instance Id#define DATA_PROVIDER_PNPID_INSTANCE_NAMES_GUID \    { 0xc7bf35d3,0xaadb,0x11d1, { 0xbf,0x4a,0x00,0xa0,0xc9,0x06,0x29,0x10 } }DEFINE_GUID(MSWmi_PnPInstanceNames_GUID, \            0xc7bf35d3,0xaadb,0x11d1,0xbf,0x4a,0x00,0xa0,0xc9,0x06,0x29,0x10);typedef struct _MSWmi_PnPInstanceNames{    // Count of instance names associated with this PnPId    ULONG Count;    #define MSWmi_PnPInstanceNames_Count_SIZE sizeof(ULONG)    #define MSWmi_PnPInstanceNames_Count_ID 1    // Wmi Instance Names for the device. This property is useful for mapping from the wmi namespace to the cimv2 namespace classes using the view provider    WCHAR InstanceNameList[1];    #define MSWmi_PnPInstanceNames_InstanceNameList_ID 2} MSWmi_PnPInstanceNames, *PMSWmi_PnPInstanceNames;// MSSmBios_RawSMBiosTables - MSSmBios_RawSMBiosTables// Raw SMBIOS Tables#define MSSmBios_RawSMBiosTablesGuid \    { 0x8f680850,0xa584,0x11d1, { 0xbf,0x38,0x00,0xa0,0xc9,0x06,0x29,0x10 } }DEFINE_GUID(MSSmBios_RawSMBiosTables_GUID, \            0x8f680850,0xa584,0x11d1,0xbf,0x38,0x00,0xa0,0xc9,0x06,0x29,0x10);typedef struct _MSSmBios_RawSMBiosTables{    //     BOOLEAN Used20CallingMethod;    #define MSSmBios_RawSMBiosTables_Used20CallingMethod_SIZE sizeof(BOOLEAN)    #define MSSmBios_RawSMBiosTables_Used20CallingMethod_ID 1    //     UCHAR SmbiosMajorVersion;    #define MSSmBios_RawSMBiosTables_SmbiosMajorVersion_SIZE sizeof(UCHAR)    #define MSSmBios_RawSMBiosTables_SmbiosMajorVersion_ID 2    //     UCHAR SmbiosMinorVersion;    #define MSSmBios_RawSMBiosTables_SmbiosMinorVersion_SIZE sizeof(UCHAR)    #define MSSmBios_RawSMBiosTables_SmbiosMinorVersion_ID 3    //     UCHAR DmiRevision;    #define MSSmBios_RawSMBiosTables_DmiRevision_SIZE sizeof(UCHAR)    #define MSSmBios_RawSMBiosTables_DmiRevision_ID 4    //     ULONG Size;    #define MSSmBios_RawSMBiosTables_Size_SIZE sizeof(ULONG)    #define MSSmBios_RawSMBiosTables_Size_ID 5    //     UCHAR SMBiosData[1];    #define MSSmBios_RawSMBiosTables_SMBiosData_ID 6} MSSmBios_RawSMBiosTables, *PMSSmBios_RawSMBiosTables;// MSPower_DeviceEnable - MSPower_DeviceEnable// The control sets whether the device should dynamically power on and off while the system is working.#define MSPower_DeviceEnableGuid \    { 0x827c0a6f,0xfeb0,0x11d0, { 0xbd,0x26,0x00,0xaa,0x00,0xb7,0xb3,0x2a } }DEFINE_GUID(MSPower_DeviceEnable_GUID, \            0x827c0a6f,0xfeb0,0x11d0,0xbd,0x26,0x00,0xaa,0x00,0xb7,0xb3,0x2a);typedef struct _MSPower_DeviceEnable{    //     BOOLEAN Enable;    #define MSPower_DeviceEnable_Enable_SIZE sizeof(BOOLEAN)    #define MSPower_DeviceEnable_Enable_ID 1} MSPower_DeviceEnable, *PMSPower_DeviceEnable;// MSPower_DeviceWakeEnable - MSPower_DeviceWakeEnable// This control indicates whether the device should be configured to wake a sleeping system.#define MSPower_DeviceWakeEnableGuid \    { 0xa9546a82,0xfeb0,0x11d0, { 0xbd,0x26,0x00,0xaa,0x00,0xb7,0xb3,0x2a } }DEFINE_GUID(MSPower_DeviceWakeEnable_GUID, \            0xa9546a82,0xfeb0,0x11d0,0xbd,0x26,0x00,0xaa,0x00,0xb7,0xb3,0x2a);typedef struct _MSPower_DeviceWakeEnable{    //     BOOLEAN Enable;    #define MSPower_DeviceWakeEnable_Enable_SIZE sizeof(BOOLEAN)    #define MSPower_DeviceWakeEnable_Enable_ID 1} MSPower_DeviceWakeEnable, *PMSPower_DeviceWakeEnable;// MSNdis_NetworkAddress - MSNdis_NetworkAddress#define MSNdis_NetworkAddressGuid \    { 0xb5bd98b7,0x0201,0x11d1, { 0xa5,0x0e,0x00,0xa0,0xc9,0x06,0x29,0x10 } }DEFINE_GUID(MSNdis_NetworkAddress_GUID, \            0xb5bd98b7,0x0201,0x11d1,0xa5,0x0e,0x00,0xa0,0xc9,0x06,0x29,0x10);typedef struct _MSNdis_NetworkAddress{    //     UCHAR Address[6];    #define MSNdis_NetworkAddress_Address_SIZE sizeof(UCHAR[6])    #define MSNdis_NetworkAddress_Address_ID 1} MSNdis_NetworkAddress, *PMSNdis_NetworkAddress;// MSNdis_NetworkShortAddress - MSNdis_NetworkShortAddress#define MSNdis_NetworkShortAddressGuid \    { 0xb5bd98b8,0x0201,0x11d1, { 0xa5,0x0e,0x00,0xa0,0xc9,0x06,0x29,0x10 } }DEFINE_GUID(MSNdis_NetworkShortAddress_GUID, \            0xb5bd98b8,0x0201,0x11d1,0xa5,0x0e,0x00,0xa0,0xc9,0x06,0x29,0x10);typedef struct _MSNdis_NetworkShortAddress{    //     UCHAR Address[2];    #define MSNdis_NetworkShortAddress_Address_SIZE sizeof(UCHAR[2])    #define MSNdis_NetworkShortAddress_Address_ID 1} MSNdis_NetworkShortAddress, *PMSNdis_NetworkShortAddress;// MSNdis_NetworkLinkSpeed - MSNdis_NetworkLinkSpeed#define MSNdis_NetworkLinkSpeedGuid \    { 0x60fc6b57,0x0f66,0x11d1, { 0x96,0xa7,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_NetworkLinkSpeed_GUID, \            0x60fc6b57,0x0f66,0x11d1,0x96,0xa7,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_NetworkLinkSpeed{    //     ULONG Outbound;    #define MSNdis_NetworkLinkSpeed_Outbound_SIZE sizeof(ULONG)    #define MSNdis_NetworkLinkSpeed_Outbound_ID 1    //     ULONG Inbound;    #define MSNdis_NetworkLinkSpeed_Inbound_SIZE sizeof(ULONG)    #define MSNdis_NetworkLinkSpeed_Inbound_ID 2} MSNdis_NetworkLinkSpeed, *PMSNdis_NetworkLinkSpeed;// MSNdis_EnumerateAdapter - MSNdis_EnumerateAdapter// NDIS Enumerate Adapter#define MSNdis_EnumerateAdapterGuid \    { 0x981f2d7f,0xb1f3,0x11d0, { 0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_EnumerateAdapter_GUID, \            0x981f2d7f,0xb1f3,0x11d0,0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_EnumerateAdapter{    // Device name.    CHAR VariableData[1];    #define MSNdis_EnumerateAdapter_DeviceName_ID 1} MSNdis_EnumerateAdapter, *PMSNdis_EnumerateAdapter;// MSNdis_NotifyAdapterRemoval - MSNdis_NotifyAdapterRemoval// NDIS Notify Adapter Removal#define MSNdis_NotifyAdapterRemovalGuid \    { 0x981f2d80,0xb1f3,0x11d0, { 0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_NotifyAdapterRemoval_GUID, \            0x981f2d80,0xb1f3,0x11d0,0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_NotifyAdapterRemoval{    // Device name.    CHAR VariableData[1];    #define MSNdis_NotifyAdapterRemoval_DeviceName_ID 1} MSNdis_NotifyAdapterRemoval, *PMSNdis_NotifyAdapterRemoval;// MSNdis_NotifyAdapterArrival - MSNdis_NotifyAdapterArrival// NDIS Notify Adapter Arrival#define MSNdis_NotifyAdapterArrivalGuid \    { 0x981f2d81,0xb1f3,0x11d0, { 0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_NotifyAdapterArrival_GUID, \            0x981f2d81,0xb1f3,0x11d0,0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_NotifyAdapterArrival{    // Device name.    CHAR VariableData[1];    #define MSNdis_NotifyAdapterArrival_DeviceName_ID 1} MSNdis_NotifyAdapterArrival, *PMSNdis_NotifyAdapterArrival;// MSNdis_NdisEnumerateVc - MSNdis_NdisEnumerateVc// NDIS Enumerate VC#define MSNdis_NdisEnumerateVcGuid \    { 0x981f2d82,0xb1f3,0x11d0, { 0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_NdisEnumerateVc_GUID, \            0x981f2d82,0xb1f3,0x11d0,0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c);// Warning: Header for class MSNdis_NdisEnumerateVc cannot be createdtypedef struct _MSNdis_NdisEnumerateVc{    char VariableData[1];} MSNdis_NdisEnumerateVc, *PMSNdis_NdisEnumerateVc;// MSNdis_NotifyVcRemoval - MSNdis_NotifyVcRemoval// NDIS Notify VC Removal#define MSNdis_NotifyVcRemovalGuid \    { 0x981f2d79,0xb1f3,0x11d0, { 0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_NotifyVcRemoval_GUID, \            0x981f2d79,0xb1f3,0x11d0,0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c);// Warning: Header for class MSNdis_NotifyVcRemoval cannot be createdtypedef struct _MSNdis_NotifyVcRemoval{    char VariableData[1];} MSNdis_NotifyVcRemoval, *PMSNdis_NotifyVcRemoval;// MSNdis_NotifyVcArrival - MSNdis_NotifyVcArrival// NDIS Notify VC Arrival#define MSNdis_NotifyVcArrivalGuid \    { 0x182f9e0c,0xb1f3,0x11d0, { 0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_NotifyVcArrival_GUID, \            0x182f9e0c,0xb1f3,0x11d0,0x8d,0xd7,0x00,0xc0,0x4f,0xc3,0x35,0x8c);// Warning: Header for class MSNdis_NotifyVcArrival cannot be createdtypedef struct _MSNdis_NotifyVcArrival{    char VariableData[1];} MSNdis_NotifyVcArrival, *PMSNdis_NotifyVcArrival;// MSNdis_HardwareStatus - MSNdis_HardwareStatus// NDIS Hardware Status#define MSNdis_HardwareStatusGuid \    { 0x5ec10354,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_HardwareStatus_GUID, \            0x5ec10354,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_HardwareStatus{    // Current hardware status of the underlying NIC.    ULONG NdisHardwareStatus;    #define MSNdis_HardwareStatus_NdisHardwareStatus_SIZE sizeof(ULONG)    #define MSNdis_HardwareStatus_NdisHardwareStatus_ID 1} MSNdis_HardwareStatus, *PMSNdis_HardwareStatus;// MSNdis_MediaSupported - MSNdis_MediaSupported// NDIS Media Types Supported#define MSNdis_MediaSupportedGuid \    { 0x5ec10355,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -