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

📄 wmicore.moff

📁 书中的主要程序文件。在打开例题的.dsw文件后,请读者在 tools菜单下的 Options 的 Directories 标签中选择 Executable files
💻 MOFF
📖 第 1 页 / 共 5 页
字号:
		WmiSizeIs("NumberElements")]    uint32    NdisMediaInUse[];
};

[WMI, Dynamic, Provider("WMIProv"),guid("{5ec10357-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Maximum Lookahead Supported")]
class  MSNdis_MaximumLookahead : MSNdis
{
    [key, read]
	string		InstanceName;

	[read]
	boolean		Active;

    [read,
     	Description("The maximum number of bytes the NIC can always provide as lookahead data."),
		WmiDataId(1)]    uint32    NdisMaximumLookahead;
};



[WMI, Dynamic, Provider("WMIProv"),guid("{5ec10358-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Maximum Frame Size")]
class  MSNdis_MaximumFrameSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The maximum network packet size in bytes the NIC supports, not including a header."),
		WmiDataId(1)]    uint32    NdisMaximumFrameSize;
};

[WMI, Dynamic, Provider("WMIProv"),guid("{5ec10359-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Link Speed")]
class  MSNdis_LinkSpeed : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The maximum speed of the NIC (kbps)."),
		WmiDataId(1)]    uint32    NdisLinkSpeed;
};

[WMI, Dynamic, Provider("WMIProv"),guid("{5ec1035a-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Transmit Buffer Space")]
class  MSNdis_TransmitBufferSpace : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The amount of memory, in bytes, on the NIC available for buffering transmit data."),
		WmiDataId(1)]    uint32    NdisTransmitBufferSpace;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035b-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Receive Buffer Space")]
class  MSNdis_ReceiveBufferSpace : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The amount of memory on the NIC available for buffering receive data."),
		WmiDataId(1)]    uint32    NdisReceiveBufferSpace;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035c-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Transmit Block Size")]
class  MSNdis_TransmitBlockSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The minimum number of bytes that a single net packet occupies in the transmit buffer space of the NIC."),
		WmiDataId(1)]    uint32    NdisTransmitBlockSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035d-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Receive Block Size")]
class  MSNdis_ReceiveBlockSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The amount of storage, in bytes, that a single packet occupies in the receive buffer space of the NIC."),
		WmiDataId(1)]    uint32    NdisReceiveBlockSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035e-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Vendor ID")]
class  MSNdis_VendorID : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("A three-byte IEEE-registered vendor code, followed by a single byte the vendor assigns to identify a particular NIC."),
		WmiDataId(1)]    uint32    NdisVendorID;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035f-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Vendor Description")]
class  MSNdis_VendorDescription : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Zero-terminated string describing the NIC."),
		WmiDataId(1)]    string    NdisVendorDescription;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec10360-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Current Packet Filter")]
class  MSNdis_CurrentPacketFilter : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Current packet types that will be received and indicated by the NIC."),
		WmiDataId(1)]    uint32    NdisCurrentPacketFilter;

//
//	This is an inclusive OR of the following types:
//
//      NDIS_PACKET_TYPE_DIRECTED				0x00000001
//      NDIS_PACKET_TYPE_MULTICAST				0x00000002
//      NDIS_PACKET_TYPE_ALL_MULTICAST          0x00000004
//      NDIS_PACKET_TYPE_BROADCAST              0x00000008
//		NDIS_PACKET_TYPE_SOURCE_ROUTING         0x00000010
//		NDIS_PACKET_TYPE_PROMISCUOUS            0x00000020
//      NDIS_PACKET_TYPE_SMT                    0x00000040
//      NDIS_PACKET_TYPE_ALL_LOCAL              0x00000080
//      NDIS_PACKET_TYPE_GROUP                  0x00001000
//		NDIS_PACKET_TYPE_ALL_FUNCTIONAL         0x00002000
//      NDIS_PACKET_TYPE_FUNCTIONAL             0x00004000
//      NDIS_PACKET_TYPE_MAC_FRAME				0x00008000
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec10361-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Current Lookahead")]
class  MSNdis_CurrentLookahead : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of bytes of received packet data, excluding the header, that will be indicated to the protocol driver."),
		WmiDataId(1)]    uint32    NdisCurrentLookahead;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec10362-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Driver Version")]
class  MSNdis_DriverVersion : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The NDIS version in use by the NIC driver."),
		WmiDataId(1)]    uint16    NdisDriverVersion;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec10363-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Maximum Packet Total Size")]
class  MSNdis_MaximumTotalSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The maximum total packet length, in bytes, the NIC supports, including the header."),
		WmiDataId(1)]    uint32    NdisMaximumTotalSize;
};

//
//	This is an inclusive OR of the following types:
//
//		NDIS_PROT_OPTION_ESTIMATED_LENGTH		0x00000001
//		NDIS_PROT_OPTION_NO_LOOPBACK			0x00000002
//		NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT		0x00000004
//

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec10365-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS MAC Options")]
class  MSNdis_MacOptions : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("A bitmask that defines optional properties of the underlying driver or its NIC."),
		WmiDataId(1)]    uint32    NdisMacOptions;

//
//	This is an inclusive OR of the following types:
//	
//		NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA     0x00000001
//		NDIS_MAC_OPTION_RECEIVE_SERIALIZED      0x00000002
//		NDIS_MAC_OPTION_TRANSFERS_NOT_PEND      0x00000004
//		NDIS_MAC_OPTION_NO_LOOPBACK             0x00000008
//  	NDIS_MAC_OPTION_FULL_DUPLEX             0x00000010
//  	NDIS_MAC_OPTION_EOTX_INDICATION         0x00000020
//  	NDIS_MAC_OPTION_RESERVED                0x80000000
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec10366-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Media Connect Status")]
class  MSNdis_MediaConnectStatus : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The connection status of the NIC on the network."),
        Values{"NdisMediaStateConnected",
                "NdisMediaStateDisconnected"},
        ValueMap{"0",
                "1"},
		WmiDataId(1)]    uint32    NdisMediaConnectStatus;

//
//
//
// Defines the state of the LAN media
//
//	typedef enum _NDIS_MEDIA_STATE
//	{
//		NdisMediaStateConnected,
//		NdisMediaStateDisconnected
//	} NDIS_MEDIA_STATE, *PNDIS_MEDIA_STATE;
//
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{5ec10367-a61a-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Maximum Send Packets")]
class  MSNdis_MaximumSendPackets : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The maximum number of send packets the MiniportSendPackets function can accept."),
		WmiDataId(1)]    uint32    NdisMaximumSendPackets;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{447956f9-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Vendor's Driver Version")]
class  MSNdis_VendorDriverVersion : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The vendor-assigned version number of the NIC driver."),
		WmiDataId(1)]    uint32    NdisVendorDriverVersion;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{447956fa-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Transmits OK")]
class  MSNdis_TransmitsOk : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames transmitted without errors"),
		WmiDataId(1)]    uint32    NdisTransmitsOk;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{447956fb-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Receives OK")]
class  MSNdis_ReceivesOk : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames the NIC receives without errors and indicates to bound protocols."),
		WmiDataId(1)]    uint32    NdisReceivesOk;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{447956fc-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Transmit Errors")]
class  MSNdis_TransmitsError : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames a NIC fails to transmit."),
		WmiDataId(1)]    uint32    NdisTransmitsError;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{447956fd-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Receive Errors")]
class  MSNdis_ReceiveError : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames a NIC receives but does not indicate to the protocols due to errors."),
		WmiDataId(1)]    uint32    NdisReceiveError;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{447956fe-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Receive No Buffer")]
class  MSNdis_ReceiveNoBuffer : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames the NIC cannot receive due to lack of NIC receive buffer space."),
		WmiDataId(1)]    uint32    NdisReceiveNoBuffer;
};

///
///
///	CoNDIS general GUIDs
///
///

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad192-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Hardware Status")]
class  MSNdis_CoHardwareStatus : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     Description("Current hardware status of the underlying NIC."),
		WmiDataId(1)]    uint32	NdisCoHardwareStatus;
};


[WMI, Dynamic, Provider("WMIProv"), guid("{791ad193-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Media Types Supported")]
class  MSNdis_CoMediaSupported : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Number of media types supported."),
		WmiDataId(1)]    uint32  NumberElements;
    [read,
     	Description("List of media types the NIC supports."),
		WmiDataId(2),
		WmiSizeIs("NumberElements")]    uint32    NdisCoMediaSupported[];
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad194-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Media Types In Use")]
class  MSNdis_CoMediaInUse : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Number of media types in use."),
		WmiDataId(1)]    uint32  NumberElements;
    [read,
     	Description("List of media types the NIC is currently supporting."),
		WmiDataId(2),
		WmiSizeIs("NumberElements")]    uint32    NdisCoMediaInUse[];
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad195-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Link Speed")]
class  MSNdis_CoLinkSpeed : MSNdis
{

⌨️ 快捷键说明

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