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

📄 wmicore.moff

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

[WMI, Dynamic, Provider("WMIProv"), guid("{447956ff-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Ethernet Permanent Address")]
class  MSNdis_EthernetPermanentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The address of the NIC encoded in the hardware."),
		WmiDataId(1)]    MSNdis_NetworkAddress     NdisPermanentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795700-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Ethernet Current Address")]
class  MSNdis_EthernetCurrentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The address the NIC is currently using."),
		WmiDataId(1)]    MSNdis_NetworkAddress     NdisCurrentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795701-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Ethernet Multicast List")]
class  MSNdis_EthernetMulticastList : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Number of multicast addresses enabled on the NIC."),
		WmiDataId(1)] uint32 NumberElements;

	[read,
     	Description("The multicast address list on the NIC enabled for packet reception."),
		WmiDataId(2),
		WmiSizeIs("NumberElements")]    MSNdis_NetworkAddress NdisMulticastList[];
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795702-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("Adpater Ethernet Maximum Multicast List Size")]
class  MSNdis_EthernetMaximumMulticastListSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The maximum number of multicast addresses the NIC driver can manage."),
		WmiDataId(1)]    uint32    NdisEthernetMaximumMulticastListSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795703-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Ethernet MAC Options")]
class  MSNdis_EthernetMacOptions : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("Features supported by the underlying driver, which could be emulating Ethernet."),
		WmiDataId(1)]    uint32    NdisEthernetMacOptions;

//
//	Supported values:
//
//		NDIS_802_3_MAC_OPTION_PRIORITY		0x00000001
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795704-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Ethernet Receive Error Alignment")]
class  MSNdis_EthernetReceiveErrorAlignment : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames received with alignment errors."),
		WmiDataId(1)]    uint32    NdisEthernetReceiveErrorAlignment;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795705-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Ethernet One Transmit collision")]
class    MSNdis_EthernetOneTransmitCollision : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames successfully transmitted after exactly one collision."),
		WmiDataId(1)]    uint32    NdisEthernetOneTransmitCollision;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795706-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Ethernet More Transmit collisions")]
class  MSNdis_EthernetMoreTransmitCollisions : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The number of frames successfully transmitted after more than one collision."),
		WmiDataId(1)]    uint32    NdisEthernetMoreTransmitCollisions;
};

///
///
/// 	Token Ring specific GUIDs
///
///
[WMI, Dynamic, Provider("WMIProv"), guid("{44795707-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Permanent Address")]
class  MSNdis_TokenRingPermanentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The address of the NIC encoded in the hardware."),
		WmiDataId(1)]    MSNdis_NetworkAddress  NdisPermanentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795708-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Current Address")]
class  MSNdis_TokenRingCurrentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The address the NIC is currently using."),
		WmiDataId(1)]    MSNdis_NetworkAddress     NdisCurrentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{44795709-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Current Functional Address")]
class  MSNdis_TokenRingCurrentFunctional : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
		Description("The functional address enabled on the NIC for packet reception."),
		WmiDataId(1)]    uint32    NdisTokenRingCurrentFunctional;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{4479570a-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Current Group Address")]
class  MSNdis_TokenRingCurrentGroup : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The group address enabled on the NIC for packet reception."),
		WmiDataId(1)]    uint32    NdisTokenRingCurrentGroup;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{4479570b-a61b-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Last Open Status")]
class  MSNdis_TokenRingLastOpenStatus : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
     	Description("The last open error status returned for a protocol's call to NdisOpenAdapter."),
		WmiDataId(1)]    uint32    NdisTokenRingLastOpenStatus;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{890a36ec-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Current Ring Status")]
class  MSNdis_TokenRingCurrentRingStatus : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
		Description("The last ring status indicated with an NDIS_RING_XXX status code."),
		WmiDataId(1)]    uint32    NdisTokenRingCurrentRingStatus;

//
//	This can be one of the following values:
//
//  NDIS_RING_SIGNAL_LOSS                   0x00008000
//  NDIS_RING_HARD_ERROR                    0x00004000
//  NDIS_RING_SOFT_ERROR                    0x00002000
//  NDIS_RING_TRANSMIT_BEACON               0x00001000
//  NDIS_RING_LOBE_WIRE_FAULT               0x00000800
//  NDIS_RING_AUTO_REMOVAL_ERROR            0x00000400
//  NDIS_RING_REMOVE_RECEIVED               0x00000200
//  NDIS_RING_COUNTER_OVERFLOW              0x00000100
//  NDIS_RING_SINGLE_STATION                0x00000080
//	NDIS_RING_RING_RECOVERY                 0x00000040
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14032-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Current Ring State.")]
class  MSNdis_TokenRingCurrentRingState : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
	[read,
		Description("The state of the NIC driver with repsect to entering the ring."),
                Values{"NdisRingStateOpened",
                        "NdisRingStateClosed",
                        "NdisRingStateOpening",
                        "NdisRingStateClosing",
                        "NdisRingStateOpenFailure",
                        "NdisRingStateRingFailure"},
                ValueMap{"1",
                        "2",
                        "3",
                        "4",
                        "5",
                        "6"},
		WmiDataId(1)]    uint32    NdisTokenRingCurrentRingState;

//
//	This is defined as follows:
//
//		typedef enum _NDIS_802_5_RING_STATE
//		{
//   		NdisRingStateOpened = 1,
//   		NdisRingStateClosed,
//   		NdisRingStateOpening,
//   		NdisRingStateClosing,
//   		NdisRingStateOpenFailure,
//   		NdisRingStateRingFailure
//		} NDIS_802_5_RING_STATE, *PNDIS_802_5_RING_STATE;
//
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14033-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Line Errors")]
class  MSNdis_TokenRingLineErrors : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("Number of frames with an invalid FCS or a code violation."),
		WmiDataId(1)]    uint32    NdisTokenRingLineErrors;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14034-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS Token Ring Lost Frames")]
class  MSNdis_TokenRingLostFrames : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("The number of frames transmitted that have not circled the ring within the maximum ring latency."),
		WmiDataId(1)]    uint32    NdisTokenRingLostFrames;
};

///
///
/// 	FDDI specific GUIDs
///
///

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14035-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Long Permanent Address")]
class  MSNdis_FddiLongPermanentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("The long address of the NIC encoded in the hardware."),
		WmiDataId(1)]    MSNdis_NetworkAddress     NdisPermanentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14036-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Long Current Address")]
class  MSNdis_FddiLongCurrentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("The long address the NIC is currently using."),
		WmiDataId(1)]    MSNdis_NetworkAddress     NdisCurrentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14037-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Long Multicast List")]
class  MSNdis_FddiLongMulticastList : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("Number of multicast addresses enabled on the NIC."),
		WmiDataId(1)] uint32 NumberElements;
    [read,
		Description("The multicast long address list on the NIC enabled for packet reception."),
		WmiDataId(2), WmiSizeIs("NumberElements")]
                MSNdis_NetworkAddress NdisMulticastList[];
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14038-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Long Maximum List Size")]
class  MSNdis_FddiLongMaximumListSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("The maximum number of multicast long addresses the NIC driver can manage."),
		WmiDataId(1)]    uint32    NdisFddiLongMaximumListSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf14039-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Short Permanent Address")]
class  MSNdis_FddiShortPermanentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("The short address of the NIC encoded in the hardware."),
		WmiDataId(1)]    MSNdis_NetworkShortAddress     NdisPermanentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf1403a-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Short Current Address")]
class  MSNdis_FddiShortCurrentAddress : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("The short address the NIC is currently using."),
		WmiDataId(1)]    MSNdis_NetworkShortAddress     NdisCurrentAddress;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf1403b-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Short Multicast List")]
class  MSNdis_FddiShortMulticastList : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("Number of multicast short addresses enabled on the NIC."),
		WmiDataId(1)] uint32 NumberElements;
    [read,
		Description("The multicast short address list on the NIC enabled for packet reception."),
		WmiDataId(2),
		WmiSizeIs("NumberElements")]    MSNdis_NetworkShortAddress NdisMulticastList[];
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf1403c-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Short Maximum List Size")]
class  MSNdis_FddiShortMaximumListSize : MSNdis
{
	[key, read]
	string		InstanceName;
	
	[read]
	boolean		Active;
	
    [read,
		Description("The maximum number of multicast short addresses the NIC driver can manage."),
		WmiDataId(1)]    uint32    NdisFddiShortMaximumListSize;
};

[WMI, Dynamic, Provider("WMIProv"), guid("{acf1403d-a61c-11d0-8dd4-00c04fc3358c}"),
 locale("MS\\0x409"),
 WmiExpense(1),
 Description("NDIS FDDI Attachment Type")]
class  MSNdis_FddiAttachmentType : MSNdis
{

⌨️ 快捷键说明

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