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

📄 wmidata.h

📁 书中的主要程序文件。在打开例题的.dsw文件后,请读者在 tools菜单下的 Options 的 Directories 标签中选择 Executable files
💻 H
📖 第 1 页 / 共 5 页
字号:
typedef struct _MSNdis_TransmitsOk{    // The number of frames transmitted without errors    ULONG NdisTransmitsOk;    #define MSNdis_TransmitsOk_NdisTransmitsOk_SIZE sizeof(ULONG)    #define MSNdis_TransmitsOk_NdisTransmitsOk_ID 1} MSNdis_TransmitsOk, *PMSNdis_TransmitsOk;// MSNdis_ReceivesOk - MSNdis_ReceivesOk// NDIS Receives OK#define MSNdis_ReceivesOkGuid \    { 0x447956fb,0xa61b,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_ReceivesOk_GUID, \            0x447956fb,0xa61b,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_ReceivesOk{    // The number of frames the NIC receives without errors and indicates to bound protocols.    ULONG NdisReceivesOk;    #define MSNdis_ReceivesOk_NdisReceivesOk_SIZE sizeof(ULONG)    #define MSNdis_ReceivesOk_NdisReceivesOk_ID 1} MSNdis_ReceivesOk, *PMSNdis_ReceivesOk;// MSNdis_TransmitsError - MSNdis_TransmitsError// NDIS Transmit Errors#define MSNdis_TransmitsErrorGuid \    { 0x447956fc,0xa61b,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_TransmitsError_GUID, \            0x447956fc,0xa61b,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_TransmitsError{    // The number of frames a NIC fails to transmit.    ULONG NdisTransmitsError;    #define MSNdis_TransmitsError_NdisTransmitsError_SIZE sizeof(ULONG)    #define MSNdis_TransmitsError_NdisTransmitsError_ID 1} MSNdis_TransmitsError, *PMSNdis_TransmitsError;// MSNdis_ReceiveError - MSNdis_ReceiveError// NDIS Receive Errors#define MSNdis_ReceiveErrorGuid \    { 0x447956fd,0xa61b,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_ReceiveError_GUID, \            0x447956fd,0xa61b,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_ReceiveError{    // The number of frames a NIC receives but does not indicate to the protocols due to errors.    ULONG NdisReceiveError;    #define MSNdis_ReceiveError_NdisReceiveError_SIZE sizeof(ULONG)    #define MSNdis_ReceiveError_NdisReceiveError_ID 1} MSNdis_ReceiveError, *PMSNdis_ReceiveError;// MSNdis_ReceiveNoBuffer - MSNdis_ReceiveNoBuffer// NDIS Receive No Buffer#define MSNdis_ReceiveNoBufferGuid \    { 0x447956fe,0xa61b,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_ReceiveNoBuffer_GUID, \            0x447956fe,0xa61b,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_ReceiveNoBuffer{    // The number of frames the NIC cannot receive due to lack of NIC receive buffer space.    ULONG NdisReceiveNoBuffer;    #define MSNdis_ReceiveNoBuffer_NdisReceiveNoBuffer_SIZE sizeof(ULONG)    #define MSNdis_ReceiveNoBuffer_NdisReceiveNoBuffer_ID 1} MSNdis_ReceiveNoBuffer, *PMSNdis_ReceiveNoBuffer;// MSNdis_CoHardwareStatus - MSNdis_CoHardwareStatus// CoNDIS Hardware Status#define MSNdis_CoHardwareStatusGuid \    { 0x791ad192,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoHardwareStatus_GUID, \            0x791ad192,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoHardwareStatus{    // Current hardware status of the underlying NIC.    ULONG NdisCoHardwareStatus;    #define MSNdis_CoHardwareStatus_NdisCoHardwareStatus_SIZE sizeof(ULONG)    #define MSNdis_CoHardwareStatus_NdisCoHardwareStatus_ID 1} MSNdis_CoHardwareStatus, *PMSNdis_CoHardwareStatus;// MSNdis_CoMediaSupported - MSNdis_CoMediaSupported// CoNDIS Media Types Supported#define MSNdis_CoMediaSupportedGuid \    { 0x791ad193,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoMediaSupported_GUID, \            0x791ad193,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoMediaSupported{    // Number of media types supported.    ULONG NumberElements;    #define MSNdis_CoMediaSupported_NumberElements_SIZE sizeof(ULONG)    #define MSNdis_CoMediaSupported_NumberElements_ID 1    // List of media types the NIC supports.    ULONG NdisCoMediaSupported[1];    #define MSNdis_CoMediaSupported_NdisCoMediaSupported_ID 2} MSNdis_CoMediaSupported, *PMSNdis_CoMediaSupported;// MSNdis_CoMediaInUse - MSNdis_CoMediaInUse// CoNDIS Media Types In Use#define MSNdis_CoMediaInUseGuid \    { 0x791ad194,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoMediaInUse_GUID, \            0x791ad194,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoMediaInUse{    // Number of media types in use.    ULONG NumberElements;    #define MSNdis_CoMediaInUse_NumberElements_SIZE sizeof(ULONG)    #define MSNdis_CoMediaInUse_NumberElements_ID 1    // List of media types the NIC is currently supporting.    ULONG NdisCoMediaInUse[1];    #define MSNdis_CoMediaInUse_NdisCoMediaInUse_ID 2} MSNdis_CoMediaInUse, *PMSNdis_CoMediaInUse;// MSNdis_CoLinkSpeed - MSNdis_CoLinkSpeed// CoNDIS Link Speed#define MSNdis_CoLinkSpeedGuid \    { 0x791ad195,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoLinkSpeed_GUID, \            0x791ad195,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoLinkSpeed{    // The maximum inbound and outbound speeds of the NIC (kbps).    MSNdis_NetworkLinkSpeed NdisCoLinkSpeed;    #define MSNdis_CoLinkSpeed_NdisCoLinkSpeed_SIZE sizeof(MSNdis_NetworkLinkSpeed)    #define MSNdis_CoLinkSpeed_NdisCoLinkSpeed_ID 1} MSNdis_CoLinkSpeed, *PMSNdis_CoLinkSpeed;// MSNdis_CoVendorId - MSNdis_CoVendorId// CoNDIS Vendor ID#define MSNdis_CoVendorIdGuid \    { 0x791ad196,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoVendorId_GUID, \            0x791ad196,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoVendorId{    // A three-byte IEEE-registered vendor code, followed by a single byte the vendor assigns to identify a particular NIC.    ULONG NdisCoVendorID;    #define MSNdis_CoVendorId_NdisCoVendorID_SIZE sizeof(ULONG)    #define MSNdis_CoVendorId_NdisCoVendorID_ID 1} MSNdis_CoVendorId, *PMSNdis_CoVendorId;// MSNdis_CoVendorDescription - MSNdis_CoVendorDescription// CoNDIS Vendor Description#define MSNdis_CoVendorDescriptionGuid \    { 0x791ad197,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoVendorDescription_GUID, \            0x791ad197,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoVendorDescription{    // Zero-terminated string describing the NIC.    CHAR VariableData[1];    #define MSNdis_CoVendorDescription_NdisCoVendorDescription_ID 1} MSNdis_CoVendorDescription, *PMSNdis_CoVendorDescription;// MSNdis_CoDriverVersion - MSNdis_CoDriverVersion// CoNDIS Driver Version#define MSNdis_CoDriverVersionGuid \    { 0x791ad198,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoDriverVersion_GUID, \            0x791ad198,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoDriverVersion{    // The NDIS version in use by the NIC driver.    USHORT NdisCoDriverVersion;    #define MSNdis_CoDriverVersion_NdisCoDriverVersion_SIZE sizeof(USHORT)    #define MSNdis_CoDriverVersion_NdisCoDriverVersion_ID 1} MSNdis_CoDriverVersion, *PMSNdis_CoDriverVersion;// MSNdis_CoMacOptions - MSNdis_CoMacOptions// CoNDIS MAC Options#define MSNdis_CoMacOptionsGuid \    { 0x791ad19a,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoMacOptions_GUID, \            0x791ad19a,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoMacOptions{    // A bitmask that defines optional properties of the underlying driver or its NIC.    ULONG NdisCoMacOptions;    #define MSNdis_CoMacOptions_NdisCoMacOptions_SIZE sizeof(ULONG)    #define MSNdis_CoMacOptions_NdisCoMacOptions_ID 1} MSNdis_CoMacOptions, *PMSNdis_CoMacOptions;// MSNdis_CoMediaConnectStatus - MSNdis_CoMediaConnectStatus// CoNDIS Media Connect Status#define MSNdis_CoMediaConnectStatusGuid \    { 0x791ad19b,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoMediaConnectStatus_GUID, \            0x791ad19b,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoMediaConnectStatus{    // The connection status of the NIC on the network.    ULONG NdisCoMediaConnectStatus;    #define MSNdis_CoMediaConnectStatus_NdisCoMediaConnectStatus_SIZE sizeof(ULONG)    #define MSNdis_CoMediaConnectStatus_NdisCoMediaConnectStatus_ID 1} MSNdis_CoMediaConnectStatus, *PMSNdis_CoMediaConnectStatus;// MSNdis_CoVendorDriverVersion - MSNdis_CoVendorDriverVersion// CoNDIS Vendor's Driver Version#define MSNdis_CoVendorDriverVersionGuid \    { 0x791ad19c,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoVendorDriverVersion_GUID, \            0x791ad19c,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoVendorDriverVersion{    // The vendor-assigned version number of the NIC driver.    ULONG NdisCoVendorDriverVersion;    #define MSNdis_CoVendorDriverVersion_NdisCoVendorDriverVersion_SIZE sizeof(ULONG)    #define MSNdis_CoVendorDriverVersion_NdisCoVendorDriverVersion_ID 1} MSNdis_CoVendorDriverVersion, *PMSNdis_CoVendorDriverVersion;// MSNdis_CoMinimumLinkSpeed - MSNdis_CoMinimumLinkSpeed// CoNDIS Minimum Link Speed#define MSNdis_CoMinimumLinkSpeedGuid \    { 0x791ad19d,0xe35c,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoMinimumLinkSpeed_GUID, \            0x791ad19d,0xe35c,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoMinimumLinkSpeed{    // The maximum inbound and outbound speeds of the NIC (kbps).    MSNdis_NetworkLinkSpeed NdisCoMinimumLinkSpeed;    #define MSNdis_CoMinimumLinkSpeed_NdisCoMinimumLinkSpeed_SIZE sizeof(MSNdis_NetworkLinkSpeed)    #define MSNdis_CoMinimumLinkSpeed_NdisCoMinimumLinkSpeed_ID 1} MSNdis_CoMinimumLinkSpeed, *PMSNdis_CoMinimumLinkSpeed;// MSNdis_CoTransmitPdusOk - MSNdis_CoTransmitPdusOk// CoNDIS Transmits PDUs OK#define MSNdis_CoTransmitPdusOkGuid \    { 0x0a214805,0xe35f,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoTransmitPdusOk_GUID, \            0x0a214805,0xe35f,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoTransmitPdusOk{    // The number of PDUs transmitted without errors    ULONG NdisCoTransmitPdusOk;    #define MSNdis_CoTransmitPdusOk_NdisCoTransmitPdusOk_SIZE sizeof(ULONG)    #define MSNdis_CoTransmitPdusOk_NdisCoTransmitPdusOk_ID 1} MSNdis_CoTransmitPdusOk, *PMSNdis_CoTransmitPdusOk;// MSNdis_CoReceivePdusOk - MSNdis_CoReceivePdusOk// CoNDIS Receive PDUs OK#define MSNdis_CoReceivePdusOkGuid \    { 0x0a214806,0xe35f,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoReceivePdusOk_GUID, \            0x0a214806,0xe35f,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoReceivePdusOk{    // The number of PDUs the NIC receives without errors and indicates to bound protocols.    ULONG NdisCoReceivePdusOk;    #define MSNdis_CoReceivePdusOk_NdisCoReceivePdusOk_SIZE sizeof(ULONG)    #define MSNdis_CoReceivePdusOk_NdisCoReceivePdusOk_ID 1} MSNdis_CoReceivePdusOk, *PMSNdis_CoReceivePdusOk;// MSNdis_CoTransmitPduErrors - MSNdis_CoTransmitPduErrors// CoNDIS Transmit PDU Errors#define MSNdis_CoTransmitPduErrorsGuid \    { 0x0a214807,0xe35f,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoTransmitPduErrors_GUID, \            0x0a214807,0xe35f,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CoTransmitPduErrors{    // The number of PDUs a NIC fails to transmit.    ULONG NdisCoTransmitPduErrors;    #define MSNdis_CoTransmitPduErrors_NdisCoTransmitPduErrors_SIZE sizeof(ULONG)    #define MSNdis_CoTransmitPduErrors_NdisCoTransmitPduErrors_ID 1} MSNdis_CoTransmitPduErrors, *PMSNdis_CoTransmitPduErrors;// MSNdis_CoReceivePduErrors - MSNdis_CoReceivePduErrors// CoNDIS Receive PDU Errors#define MSNdis_CoReceivePduErrorsGuid \    { 0x0a214808,0xe35f,0x11d0, { 0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CoReceivePduErrors_GUID, \            0x0a214808,0xe35f,0x11d0,0x96,0x92,0x00,0xc0,0x4f,0xc3,0x35,0x8c);

⌨️ 快捷键说明

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