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

📄 wmidata.h

📁 书中的主要程序文件。在打开例题的.dsw文件后,请读者在 tools菜单下的 Options 的 Directories 标签中选择 Executable files
💻 H
📖 第 1 页 / 共 5 页
字号:
DEFINE_GUID(MSNdis_MediaSupported_GUID, \            0x5ec10355,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MediaSupported{    // Number of media types supported.    ULONG NumberElements;    #define MSNdis_MediaSupported_NumberElements_SIZE sizeof(ULONG)    #define MSNdis_MediaSupported_NumberElements_ID 1    // List of media types the NIC supports.    ULONG NdisMediaSupported[1];    #define MSNdis_MediaSupported_NdisMediaSupported_ID 2} MSNdis_MediaSupported, *PMSNdis_MediaSupported;// MSNdis_MediaInUse - MSNdis_MediaInUse// NDIS Media Types In Use#define MSNdis_MediaInUseGuid \    { 0x5ec10356,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_MediaInUse_GUID, \            0x5ec10356,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MediaInUse{    // Number of media types in use.    ULONG NumberElements;    #define MSNdis_MediaInUse_NumberElements_SIZE sizeof(ULONG)    #define MSNdis_MediaInUse_NumberElements_ID 1    // List of media types the NIC is currently supporting.    ULONG NdisMediaInUse[1];    #define MSNdis_MediaInUse_NdisMediaInUse_ID 2} MSNdis_MediaInUse, *PMSNdis_MediaInUse;// MSNdis_MaximumLookahead - MSNdis_MaximumLookahead// NDIS Maximum Lookahead Supported#define MSNdis_MaximumLookaheadGuid \    { 0x5ec10357,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_MaximumLookahead_GUID, \            0x5ec10357,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MaximumLookahead{    // The maximum number of bytes the NIC can always provide as lookahead data.    ULONG NdisMaximumLookahead;    #define MSNdis_MaximumLookahead_NdisMaximumLookahead_SIZE sizeof(ULONG)    #define MSNdis_MaximumLookahead_NdisMaximumLookahead_ID 1} MSNdis_MaximumLookahead, *PMSNdis_MaximumLookahead;// MSNdis_MaximumFrameSize - MSNdis_MaximumFrameSize// NDIS Maximum Frame Size#define MSNdis_MaximumFrameSizeGuid \    { 0x5ec10358,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_MaximumFrameSize_GUID, \            0x5ec10358,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MaximumFrameSize{    // The maximum network packet size in bytes the NIC supports, not including a header.    ULONG NdisMaximumFrameSize;    #define MSNdis_MaximumFrameSize_NdisMaximumFrameSize_SIZE sizeof(ULONG)    #define MSNdis_MaximumFrameSize_NdisMaximumFrameSize_ID 1} MSNdis_MaximumFrameSize, *PMSNdis_MaximumFrameSize;// MSNdis_LinkSpeed - MSNdis_LinkSpeed// NDIS Link Speed#define MSNdis_LinkSpeedGuid \    { 0x5ec10359,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_LinkSpeed_GUID, \            0x5ec10359,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_LinkSpeed{    // The maximum speed of the NIC (kbps).    ULONG NdisLinkSpeed;    #define MSNdis_LinkSpeed_NdisLinkSpeed_SIZE sizeof(ULONG)    #define MSNdis_LinkSpeed_NdisLinkSpeed_ID 1} MSNdis_LinkSpeed, *PMSNdis_LinkSpeed;// MSNdis_TransmitBufferSpace - MSNdis_TransmitBufferSpace// NDIS Transmit Buffer Space#define MSNdis_TransmitBufferSpaceGuid \    { 0x5ec1035a,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_TransmitBufferSpace_GUID, \            0x5ec1035a,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_TransmitBufferSpace{    // The amount of memory, in bytes, on the NIC available for buffering transmit data.    ULONG NdisTransmitBufferSpace;    #define MSNdis_TransmitBufferSpace_NdisTransmitBufferSpace_SIZE sizeof(ULONG)    #define MSNdis_TransmitBufferSpace_NdisTransmitBufferSpace_ID 1} MSNdis_TransmitBufferSpace, *PMSNdis_TransmitBufferSpace;// MSNdis_ReceiveBufferSpace - MSNdis_ReceiveBufferSpace// NDIS Receive Buffer Space#define MSNdis_ReceiveBufferSpaceGuid \    { 0x5ec1035b,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_ReceiveBufferSpace_GUID, \            0x5ec1035b,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_ReceiveBufferSpace{    // The amount of memory on the NIC available for buffering receive data.    ULONG NdisReceiveBufferSpace;    #define MSNdis_ReceiveBufferSpace_NdisReceiveBufferSpace_SIZE sizeof(ULONG)    #define MSNdis_ReceiveBufferSpace_NdisReceiveBufferSpace_ID 1} MSNdis_ReceiveBufferSpace, *PMSNdis_ReceiveBufferSpace;// MSNdis_TransmitBlockSize - MSNdis_TransmitBlockSize// NDIS Transmit Block Size#define MSNdis_TransmitBlockSizeGuid \    { 0x5ec1035c,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_TransmitBlockSize_GUID, \            0x5ec1035c,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_TransmitBlockSize{    // The minimum number of bytes that a single net packet occupies in the transmit buffer space of the NIC.    ULONG NdisTransmitBlockSize;    #define MSNdis_TransmitBlockSize_NdisTransmitBlockSize_SIZE sizeof(ULONG)    #define MSNdis_TransmitBlockSize_NdisTransmitBlockSize_ID 1} MSNdis_TransmitBlockSize, *PMSNdis_TransmitBlockSize;// MSNdis_ReceiveBlockSize - MSNdis_ReceiveBlockSize// NDIS Receive Block Size#define MSNdis_ReceiveBlockSizeGuid \    { 0x5ec1035d,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_ReceiveBlockSize_GUID, \            0x5ec1035d,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_ReceiveBlockSize{    // The amount of storage, in bytes, that a single packet occupies in the receive buffer space of the NIC.    ULONG NdisReceiveBlockSize;    #define MSNdis_ReceiveBlockSize_NdisReceiveBlockSize_SIZE sizeof(ULONG)    #define MSNdis_ReceiveBlockSize_NdisReceiveBlockSize_ID 1} MSNdis_ReceiveBlockSize, *PMSNdis_ReceiveBlockSize;// MSNdis_VendorID - MSNdis_VendorID// NDIS Vendor ID#define MSNdis_VendorIDGuid \    { 0x5ec1035e,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_VendorID_GUID, \            0x5ec1035e,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_VendorID{    // A three-byte IEEE-registered vendor code, followed by a single byte the vendor assigns to identify a particular NIC.    ULONG NdisVendorID;    #define MSNdis_VendorID_NdisVendorID_SIZE sizeof(ULONG)    #define MSNdis_VendorID_NdisVendorID_ID 1} MSNdis_VendorID, *PMSNdis_VendorID;// MSNdis_VendorDescription - MSNdis_VendorDescription// NDIS Vendor Description#define MSNdis_VendorDescriptionGuid \    { 0x5ec1035f,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_VendorDescription_GUID, \            0x5ec1035f,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_VendorDescription{    // Zero-terminated string describing the NIC.    CHAR VariableData[1];    #define MSNdis_VendorDescription_NdisVendorDescription_ID 1} MSNdis_VendorDescription, *PMSNdis_VendorDescription;// MSNdis_CurrentPacketFilter - MSNdis_CurrentPacketFilter// NDIS Current Packet Filter#define MSNdis_CurrentPacketFilterGuid \    { 0x5ec10360,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CurrentPacketFilter_GUID, \            0x5ec10360,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CurrentPacketFilter{    // Current packet types that will be received and indicated by the NIC.    ULONG NdisCurrentPacketFilter;    #define MSNdis_CurrentPacketFilter_NdisCurrentPacketFilter_SIZE sizeof(ULONG)    #define MSNdis_CurrentPacketFilter_NdisCurrentPacketFilter_ID 1} MSNdis_CurrentPacketFilter, *PMSNdis_CurrentPacketFilter;// MSNdis_CurrentLookahead - MSNdis_CurrentLookahead// NDIS Current Lookahead#define MSNdis_CurrentLookaheadGuid \    { 0x5ec10361,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_CurrentLookahead_GUID, \            0x5ec10361,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_CurrentLookahead{    // The number of bytes of received packet data, excluding the header, that will be indicated to the protocol driver.    ULONG NdisCurrentLookahead;    #define MSNdis_CurrentLookahead_NdisCurrentLookahead_SIZE sizeof(ULONG)    #define MSNdis_CurrentLookahead_NdisCurrentLookahead_ID 1} MSNdis_CurrentLookahead, *PMSNdis_CurrentLookahead;// MSNdis_DriverVersion - MSNdis_DriverVersion// NDIS Driver Version#define MSNdis_DriverVersionGuid \    { 0x5ec10362,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_DriverVersion_GUID, \            0x5ec10362,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_DriverVersion{    // The NDIS version in use by the NIC driver.    USHORT NdisDriverVersion;    #define MSNdis_DriverVersion_NdisDriverVersion_SIZE sizeof(USHORT)    #define MSNdis_DriverVersion_NdisDriverVersion_ID 1} MSNdis_DriverVersion, *PMSNdis_DriverVersion;// MSNdis_MaximumTotalSize - MSNdis_MaximumTotalSize// NDIS Maximum Packet Total Size#define MSNdis_MaximumTotalSizeGuid \    { 0x5ec10363,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_MaximumTotalSize_GUID, \            0x5ec10363,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MaximumTotalSize{    // The maximum total packet length, in bytes, the NIC supports, including the header.    ULONG NdisMaximumTotalSize;    #define MSNdis_MaximumTotalSize_NdisMaximumTotalSize_SIZE sizeof(ULONG)    #define MSNdis_MaximumTotalSize_NdisMaximumTotalSize_ID 1} MSNdis_MaximumTotalSize, *PMSNdis_MaximumTotalSize;// MSNdis_MacOptions - MSNdis_MacOptions// NDIS MAC Options#define MSNdis_MacOptionsGuid \    { 0x5ec10365,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_MacOptions_GUID, \            0x5ec10365,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MacOptions{    // A bitmask that defines optional properties of the underlying driver or its NIC.    ULONG NdisMacOptions;    #define MSNdis_MacOptions_NdisMacOptions_SIZE sizeof(ULONG)    #define MSNdis_MacOptions_NdisMacOptions_ID 1} MSNdis_MacOptions, *PMSNdis_MacOptions;// MSNdis_MediaConnectStatus - MSNdis_MediaConnectStatus// NDIS Media Connect Status#define MSNdis_MediaConnectStatusGuid \    { 0x5ec10366,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_MediaConnectStatus_GUID, \            0x5ec10366,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MediaConnectStatus{    // The connection status of the NIC on the network.    ULONG NdisMediaConnectStatus;    #define MSNdis_MediaConnectStatus_NdisMediaConnectStatus_SIZE sizeof(ULONG)    #define MSNdis_MediaConnectStatus_NdisMediaConnectStatus_ID 1} MSNdis_MediaConnectStatus, *PMSNdis_MediaConnectStatus;// MSNdis_MaximumSendPackets - MSNdis_MaximumSendPackets// NDIS Maximum Send Packets#define MSNdis_MaximumSendPacketsGuid \    { 0x5ec10367,0xa61a,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_MaximumSendPackets_GUID, \            0x5ec10367,0xa61a,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_MaximumSendPackets{    // The maximum number of send packets the MiniportSendPackets function can accept.    ULONG NdisMaximumSendPackets;    #define MSNdis_MaximumSendPackets_NdisMaximumSendPackets_SIZE sizeof(ULONG)    #define MSNdis_MaximumSendPackets_NdisMaximumSendPackets_ID 1} MSNdis_MaximumSendPackets, *PMSNdis_MaximumSendPackets;// MSNdis_VendorDriverVersion - MSNdis_VendorDriverVersion// NDIS Vendor's Driver Version#define MSNdis_VendorDriverVersionGuid \    { 0x447956f9,0xa61b,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_VendorDriverVersion_GUID, \            0x447956f9,0xa61b,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);typedef struct _MSNdis_VendorDriverVersion{    // The vendor-assigned version number of the NIC driver.    ULONG NdisVendorDriverVersion;    #define MSNdis_VendorDriverVersion_NdisVendorDriverVersion_SIZE sizeof(ULONG)    #define MSNdis_VendorDriverVersion_NdisVendorDriverVersion_ID 1} MSNdis_VendorDriverVersion, *PMSNdis_VendorDriverVersion;// MSNdis_TransmitsOk - MSNdis_TransmitsOk// NDIS Transmits OK#define MSNdis_TransmitsOkGuid \    { 0x447956fa,0xa61b,0x11d0, { 0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c } }DEFINE_GUID(MSNdis_TransmitsOk_GUID, \            0x447956fa,0xa61b,0x11d0,0x8d,0xd4,0x00,0xc0,0x4f,0xc3,0x35,0x8c);

⌨️ 快捷键说明

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