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

📄 wmicore.moff

📁 书中的主要程序文件。在打开例题的.dsw文件后,请读者在 tools菜单下的 Options 的 Directories 标签中选择 Executable files
💻 MOFF
📖 第 1 页 / 共 5 页
字号:
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The maximum inbound and outbound speeds of the NIC (kbps)."),
		WmiDataId(1)]	MSNdis_NetworkLinkSpeed	NdisCoLinkSpeed;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad196-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Vendor ID")]
class  MSNdis_CoVendorId : 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    NdisCoVendorID;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad197-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Vendor Description")]
class  MSNdis_CoVendorDescription : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Zero-terminated string describing the NIC."),
		WmiDataId(1)]    string    NdisCoVendorDescription;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad198-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Driver Version")]
class  MSNdis_CoDriverVersion : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The NDIS version in use by the NIC driver."),
		WmiDataId(1)]    uint16    NdisCoDriverVersion;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad19a-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS MAC Options")]
class  MSNdis_CoMacOptions : 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    NdisCoMacOptions;
//
//
//	NDIS MAC option bits for OID_GEN_CO_MAC_OPTIONS.
//
//		#define	NDIS_CO_MAC_OPTION_DYNAMIC_LINK_SPEED	0x00000001
//
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad19b-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Media Connect Status")]
class  MSNdis_CoMediaConnectStatus : 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    NdisCoMediaConnectStatus;
//
//
//
// 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("{791ad19c-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Vendor's Driver Version")]
class  MSNdis_CoVendorDriverVersion : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The vendor-assigned version number of the NIC driver."),
		WmiDataId(1)]    uint32    NdisCoVendorDriverVersion;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad19d-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Minimum Link Speed")]
class  MSNdis_CoMinimumLinkSpeed : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The maximum inbound and outbound speeds of the NIC (kbps)."),
		WmiDataId(1)]	MSNdis_NetworkLinkSpeed	NdisCoMinimumLinkSpeed;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{0a214805-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Transmits PDUs OK")]
class  MSNdis_CoTransmitPdusOk : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of PDUs transmitted without errors"),
		WmiDataId(1)]    uint32    NdisCoTransmitPdusOk;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{0a214806-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Receive PDUs OK")]
class  MSNdis_CoReceivePdusOk : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of PDUs the NIC receives without errors and indicates to bound protocols."),
		WmiDataId(1)]    uint32    NdisCoReceivePdusOk;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{0a214807-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Transmit PDU Errors")]
class  MSNdis_CoTransmitPduErrors : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of PDUs a NIC fails to transmit."),
		WmiDataId(1)]    uint32    NdisCoTransmitPduErrors;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{0a214808-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Receive PDU Errors")]
class  MSNdis_CoReceivePduErrors : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of PDUs a NIC receives but does not indicate to the protocols due to errors."),
		WmiDataId(1)]    uint32    NdisCoReceivePduErrors;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{0a214809-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("CoNDIS Receive PDUs No Buffer")]
class  MSNdis_CoReceivePdusNoBuffer : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of PDUs the NIC cannot receive due to lack of NIC receive buffer space."),
		WmiDataId(1)]    uint32    NdisCoReceivePdusNoBuffer;
};

///
///
///	ATM media specific GUIDs
///
///
[WMI, Dynamic, Provider("WMIProv"), guid("{791ad19e-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Supported VC Rates")]
class  MSNdis_AtmSupportedVcRates : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Minimum cell rate supported."),
		WmiDataId(1)]    uint32	MinCellRate;

	[read,
		Description("Maximum cell rate supported."),
		WmiDataId(2)]	uint32	MaxCellRate;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad19f-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Supported Service Category")]
class  MSNdis_AtmSupportedServiceCategory : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Bit mask defining the service categories supported by the hardware."),
		WmiDataId(1)]    uint32	NdisAtmSupportedServiceCategory;

//
//	This can be a combination of following defines:
//
//      #define ATM_SERVICE_CATEGORY_CBR    1   // Constant Bit Rate
//      #define ATM_SERVICE_CATEGORY_VBR    2   // Variable Bit Rate
//      #define ATM_SERVICE_CATEGORY_UBR    4   // Unspecified Bit Rate
//  	#define ATM_SERVICE_CATEGORY_ABR    8   // Available Bit Rate
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a0-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Supported AAL Types")]
class  MSNdis_AtmSupportedAalTypes : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Bit mask defining the AAL types supported by the hardware."),
		WmiDataId(1)]    uint32	NdisAtmSupportedAalTypes;
//
//	This can be a combination of the following defines:
//
//      #define AAL_TYPE_AAL0           1
//      #define AAL_TYPE_AAL1           2
//      #define AAL_TYPE_AAL34          4
//      #define AAL_TYPE_AAL5           8
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a1-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Hardware Current Address")]
class  MSNdis_AtmHardwareCurrentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The address of the NIC encoded in the hardware."),
		WmiDataId(1)]    MSNdis_NetworkAddress     NdisAtmHardwareCurrentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a2-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Maximum Active VCs")]
class  MSNdis_AtmMaxActiveVcs : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Maximum number of active VCs the adapter can support."),
		WmiDataId(1)]    uint32	NdisAtmMaxActiveVcs;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a3-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Maximum Active VCI Bits")]
class  MSNdis_AtmMaxActiveVciBits : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of bits controllable in the VCI field of the cell header."),
		WmiDataId(1)]    uint32	NdisAtmMaxActiveVciBits;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a4-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Maximum Active VPI Bits")]
class  MSNdis_AtmMaxActiveVpiBits : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of bits controllable in the VPI field of the cell header."),
		WmiDataId(1)]	uint32	NdisAtmMaxActiveVpiBits;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a5-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Maximum AAL0 Packet Size")]
class  MSNdis_AtmMaxAal0PacketSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Maximum supported size for AAL0 packets."),
		WmiDataId(1)]    uint32	NdisAtmMaxAal0PacketSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a6-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Maximum AAL1 Packet Size")]
class  MSNdis_AtmMaxAal1PacketSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Maximum supported size for AAL1 packets."),
		WmiDataId(1)]    uint32	NdisAtmMaxAal1PacketSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a7-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Maximum AAL3/4 Packet Size")]
class  MSNdis_AtmMaxAal34PacketSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Maximum supported size for AAL3/4 packets."),
		WmiDataId(1)]    uint32	NdisAtmMaxAal34PacketSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{791ad191-e35c-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Maximum AAL5 Packet Size")]
class  MSNdis_AtmMaxAal5PacketSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Maximum supported size for AAL5 packets."),
		WmiDataId(1)]    uint32	NdisAtmMaxAal5PacketSize;
};


[WMI, Dynamic, Provider("WMIProv"), guid("{0a21480a-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Receive Cells OK")]
class  MSNdis_AtmReceiveCellsOk : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of cells the NIC has received without errors."),
		WmiDataId(1)]    uint64	NdisAtmReceiveCellsOk;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{0a21480b-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Transmit Cells OK")]
class  MSNdis_AtmTransmitCellsOk : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of cells the NIC has transmitted without errors."),
		WmiDataId(1)]    uint64	NdisAtmTransmitCellsOk;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{0a21480c-e35f-11d0-9692-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS ATM Receive Cells Dropped")]
class  MSNdis_AtmReceiveCellsDropped : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of receive cells the NIC has dropped."),
		WmiDataId(1)]    uint64	NdisAtmReceiveCellsDropped;
};

///
///
/// 	Ethernet specific GUIDs

⌨️ 快捷键说明

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