Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2084 lines
54 KiB

  1. //
  2. // Wmi internal classes
  3. class WMIEvent : __ExtrinsicEvent
  4. {
  5. };
  6. //
  7. // NDIS classes
  8. [WMI,
  9. guid("{B5BD98B7-0201-11d1-A50E-00A0C9062910}")]
  10. class NetworkAddress
  11. {
  12. [read, WmiDataId(1)]
  13. uint8 Address[6];
  14. };
  15. [WMI,
  16. guid("{B5BD98B8-0201-11d1-A50E-00A0C9062910}")]
  17. class NetworkShortAddress
  18. {
  19. [read, WmiDataId(1)]
  20. uint8 Address[2];
  21. };
  22. [WMI,
  23. guid("{60fc6b57-0f66-11d1-96a7-00c04fc3358c}")]
  24. class NetworkLinkSpeed
  25. {
  26. [read, WmiDataId(1)] uint32 Outbound;
  27. [read, WmiDataId(2)] uint32 Inbound;
  28. };
  29. ///
  30. /// GUIDs that do not translate to OIDs
  31. ///
  32. ///
  33. [WMI, Dynamic, Provider("WMIProv"),
  34. guid("{981f2d7f-b1f3-11d0-8dd7-00c04fc3358c}"),
  35. locale("MS\\0x409"),
  36. WmiExpense(1),
  37. Description("NDIS Enumerate Adapter")]
  38. class NdisEnumerateAdapter
  39. {
  40. [key, read]
  41. string InstanceName;
  42. [read]
  43. boolean Active;
  44. [read,
  45. Description("Device name."),
  46. WmiDataId(1)] string DeviceName;
  47. };
  48. [WMI, Dynamic, Provider("WMIProv"),
  49. guid("{981f2d80-b1f3-11d0-8dd7-00c04fc3358c}"),
  50. locale("MS\\0x409"),
  51. WmiExpense(1),
  52. Description("NDIS Notify Adapter Removal")]
  53. class NdisNotifyAdapterRemoval : WMIEvent
  54. {
  55. [key, read]
  56. string InstanceName;
  57. [read]
  58. boolean Active;
  59. [read,
  60. Description("Device name."),
  61. WmiDataId(1)] string DeviceName;
  62. };
  63. [WMI, Dynamic, Provider("WMIProv"),
  64. guid("{981f2d81-b1f3-11d0-8dd7-00c04fc3358c}"),
  65. locale("MS\\0x409"),
  66. WmiExpense(1),
  67. Description("NDIS Notify Adapter Arrival")]
  68. class NdisNotifyAdapterArrival : WMIEvent
  69. {
  70. [key, read]
  71. string InstanceName;
  72. [read]
  73. boolean Active;
  74. [read,
  75. Description("Device name."),
  76. WmiDataId(1)] string DeviceName;
  77. };
  78. [WMI, Dynamic, Provider("WMIProv"),
  79. guid("{981f2d82-b1f3-11d0-8dd7-00c04fc3358c}"),
  80. locale("MS\\0x409"),
  81. WmiExpense(1),
  82. Description("NDIS Enumerate VC")]
  83. class NdisEnumerateVc
  84. {
  85. [key, read]
  86. string InstanceName;
  87. [read]
  88. boolean Active;
  89. };
  90. [WMI, Dynamic, Provider("WMIProv"),
  91. guid("{981f2d79-b1f3-11d0-8dd7-00c04fc3358c}"),
  92. locale("MS\\0x409"),
  93. WmiExpense(1),
  94. Description("NDIS Notify VC Removal")]
  95. class NdisNotifyVcRemoval : WmiEvent
  96. {
  97. [key, read]
  98. string InstanceName;
  99. [read]
  100. boolean Active;
  101. };
  102. [WMI, Dynamic, Provider("WMIProv"),
  103. guid("{182f9e0c-b1f3-11d0-8dd7-00c04fc3358c}"),
  104. locale("MS\\0x409"),
  105. WmiExpense(1),
  106. Description("NDIS Notify VC Arrival")]
  107. class NdisNotifyVcArrival : WMIEvent
  108. {
  109. [key, read]
  110. string InstanceName;
  111. [read]
  112. boolean Active;
  113. };
  114. ///
  115. ///
  116. /// General GUIDs
  117. ///
  118. ///
  119. [WMI, Dynamic, Provider("WMIProv"),
  120. guid("{5ec10354-a61a-11d0-8dd4-00c04fc3358c}"),
  121. locale("MS\\0x409"),
  122. WmiExpense(1),
  123. Description("NDIS Hardware Status")]
  124. class NdisHardwareStatus
  125. {
  126. [key, read]
  127. string InstanceName;
  128. [read]
  129. boolean Active;
  130. [read,
  131. Description("Current hardware status of the underlying NIC."),
  132. WmiEnum{"0=NdisHardwareStatusReady",
  133. "1=NdisHardwareStatusInitializing",
  134. "2=NdisHardwareStatusReset",
  135. "3=NdisHardwareStatusClosing",
  136. "4=NdisHardwarestatusNotReady"},
  137. WmiDataId(1)] uint32 NdisHardwareStatus;
  138. //
  139. // This is of the type:
  140. // typedef enum _NDIS_HARDWARE_STATUS
  141. // {
  142. // NdisHardwareStatusReady,
  143. // NdisHardwareStatusInitializing,
  144. // NdisHardwareStatusReset,
  145. // NdisHardwareStatusClosing,
  146. // NdisHardwarestatusNotReady
  147. // } NDIS_HARDWARE_STATUS, *PNDIS_HARDWARE_STATUS;
  148. //
  149. };
  150. [WMI,Dynamic, Provider("WMIProv"),
  151. guid("{5ec10355-a61a-11d0-8dd4-00c04fc3358c}"),
  152. locale("MS\\0x409"),
  153. WmiExpense(1),
  154. Description("NDIS Media Types Supported")]
  155. class NdisMediaSupported
  156. {
  157. [key, read]
  158. string InstanceName;
  159. [read]
  160. boolean Active;
  161. [read,
  162. Description("Number of media types supported."),
  163. WmiDataId(1)] uint32 NumberElements;
  164. [read,
  165. Description("List of media types the NIC supports."),
  166. WmiDataId(2),
  167. WmiSizeIs("NumberElements")] uint32 NdisMediaSupported[];
  168. };
  169. [WMI,Dynamic, Provider("WMIProv"),
  170. guid("{5ec10356-a61a-11d0-8dd4-00c04fc3358c}"),
  171. locale("MS\\0x409"),
  172. WmiExpense(1),
  173. Description("NDIS Media Types In Use")]
  174. class NdisMediaInUse
  175. {
  176. [key, read]
  177. string InstanceName;
  178. [read]
  179. boolean Active;
  180. [read,
  181. Description("Number of media types in use."),
  182. WmiDataId(1)] uint32 NumberElements;
  183. [read,
  184. Description("List of media types the NIC is currently supporting."),
  185. WmiDataId(2),
  186. WmiSizeIs("NumberElements")] uint32 NdisMediaInUse[];
  187. };
  188. [WMI, Dynamic, Provider("WMIProv"),guid("{5ec10357-a61a-11d0-8dd4-00c04fc3358c}"),
  189. locale("MS\\0x409"),
  190. WmiExpense(1),
  191. Description("NDIS Maximum Lookahead Supported")]
  192. class NdisMaximumLookahead
  193. {
  194. [key, read]
  195. string InstanceName;
  196. [read]
  197. boolean Active;
  198. [read,
  199. Description("The maximum number of bytes the NIC can always provide as lookahead data."),
  200. WmiDataId(1)] uint32 NdisMaximumLookahead;
  201. };
  202. [WMI, Dynamic, Provider("WMIProv"),guid("{5ec10358-a61a-11d0-8dd4-00c04fc3358c}"),
  203. locale("MS\\0x409"),
  204. WmiExpense(1),
  205. Description("NDIS Maximum Frame Size")]
  206. class NdisMaximumFrameSize
  207. {
  208. [key, read]
  209. string InstanceName;
  210. [read]
  211. boolean Active;
  212. [read,
  213. Description("The maximum network packet size in bytes the NIC supports, not including a header."),
  214. WmiDataId(1)] uint32 NdisMaximumFrameSize;
  215. };
  216. [WMI, Dynamic, Provider("WMIProv"),guid("{5ec10359-a61a-11d0-8dd4-00c04fc3358c}"),
  217. locale("MS\\0x409"),
  218. WmiExpense(1),
  219. Description("NDIS Link Speed")]
  220. class NdisLinkSpeed
  221. {
  222. [key, read]
  223. string InstanceName;
  224. [read]
  225. boolean Active;
  226. [read,
  227. Description("The maximum speed of the NIC (kbps)."),
  228. WmiDataId(1)] uint32 NdisLinkSpeed;
  229. };
  230. [WMI, Dynamic, Provider("WMIProv"),guid("{5ec1035a-a61a-11d0-8dd4-00c04fc3358c}"),
  231. locale("MS\\0x409"),
  232. WmiExpense(1),
  233. Description("NDIS Transmit Buffer Space")]
  234. class NdisTransmitBufferSpace
  235. {
  236. [key, read]
  237. string InstanceName;
  238. [read]
  239. boolean Active;
  240. [read,
  241. Description("The amount of memory, in bytes, on the NIC available for buffering transmit data."),
  242. WmiDataId(1)] uint32 NdisTransmitBufferSpace;
  243. };
  244. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035b-a61a-11d0-8dd4-00c04fc3358c}"),
  245. locale("MS\\0x409"),
  246. WmiExpense(1),
  247. Description("NDIS Receive Buffer Space")]
  248. class NdisReceiveBufferSpace
  249. {
  250. [key, read]
  251. string InstanceName;
  252. [read]
  253. boolean Active;
  254. [read,
  255. Description("The amount of memory on the NIC available for buffering receive data."),
  256. WmiDataId(1)] uint32 NdisReceiveBufferSpace;
  257. };
  258. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035c-a61a-11d0-8dd4-00c04fc3358c}"),
  259. locale("MS\\0x409"),
  260. WmiExpense(1),
  261. Description("NDIS Transmit Block Size")]
  262. class NdisTransmitBlockSize
  263. {
  264. [key, read]
  265. string InstanceName;
  266. [read]
  267. boolean Active;
  268. [read,
  269. Description("The minimum number of bytes that a single net packet occupies in the transmit buffer space of the NIC."),
  270. WmiDataId(1)] uint32 NdisTransmitBlockSize;
  271. };
  272. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035d-a61a-11d0-8dd4-00c04fc3358c}"),
  273. locale("MS\\0x409"),
  274. WmiExpense(1),
  275. Description("NDIS Receive Block Size")]
  276. class NdisReceiveBlockSize
  277. {
  278. [key, read]
  279. string InstanceName;
  280. [read]
  281. boolean Active;
  282. [read,
  283. Description("The amount of storage, in bytes, that a single packet occupies in the receive buffer space of the NIC."),
  284. WmiDataId(1)] uint32 NdisReceiveBlockSize;
  285. };
  286. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035e-a61a-11d0-8dd4-00c04fc3358c}"),
  287. locale("MS\\0x409"),
  288. WmiExpense(1),
  289. Description("NDIS Vendor ID")]
  290. class NdisVendorID
  291. {
  292. [key, read]
  293. string InstanceName;
  294. [read]
  295. boolean Active;
  296. [read,
  297. Description("A three-byte IEEE-registered vendor code, followed by a single byte the vendor assigns to identify a particular NIC."),
  298. WmiDataId(1)] uint32 NdisVendorID;
  299. };
  300. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec1035f-a61a-11d0-8dd4-00c04fc3358c}"),
  301. locale("MS\\0x409"),
  302. WmiExpense(1),
  303. Description("NDIS Vendor Description")]
  304. class NdisVendorDescription
  305. {
  306. [key, read]
  307. string InstanceName;
  308. [read]
  309. boolean Active;
  310. [read,
  311. Description("Zero-terminated string describing the NIC."),
  312. WmiDataId(1)] string NdisVendorDescription;
  313. };
  314. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10360-a61a-11d0-8dd4-00c04fc3358c}"),
  315. locale("MS\\0x409"),
  316. WmiExpense(1),
  317. Description("NDIS Current Packet Filter")]
  318. class NdisCurrentPacketFilter
  319. {
  320. [key, read]
  321. string InstanceName;
  322. [read]
  323. boolean Active;
  324. [read,
  325. Description("Current packet types that will be received and indicated by the NIC."),
  326. WmiDataId(1)] uint32 NdisCurrentPacketFilter;
  327. //
  328. // This is an inclusive OR of the following types:
  329. //
  330. // NDIS_PACKET_TYPE_DIRECTED 0x00000001
  331. // NDIS_PACKET_TYPE_MULTICAST 0x00000002
  332. // NDIS_PACKET_TYPE_ALL_MULTICAST 0x00000004
  333. // NDIS_PACKET_TYPE_BROADCAST 0x00000008
  334. // NDIS_PACKET_TYPE_SOURCE_ROUTING 0x00000010
  335. // NDIS_PACKET_TYPE_PROMISCUOUS 0x00000020
  336. // NDIS_PACKET_TYPE_SMT 0x00000040
  337. // NDIS_PACKET_TYPE_ALL_LOCAL 0x00000080
  338. // NDIS_PACKET_TYPE_GROUP 0x00001000
  339. // NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00002000
  340. // NDIS_PACKET_TYPE_FUNCTIONAL 0x00004000
  341. // NDIS_PACKET_TYPE_MAC_FRAME 0x00008000
  342. //
  343. };
  344. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10361-a61a-11d0-8dd4-00c04fc3358c}"),
  345. locale("MS\\0x409"),
  346. WmiExpense(1),
  347. Description("NDIS Current Lookahead")]
  348. class NdisCurrentLookahead
  349. {
  350. [key, read]
  351. string InstanceName;
  352. [read]
  353. boolean Active;
  354. [read,
  355. Description("The number of bytes of received packet data, excluding the header, that will be indicated to the protocol driver."),
  356. WmiDataId(1)] uint32 NdisCurrentLookahead;
  357. };
  358. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10362-a61a-11d0-8dd4-00c04fc3358c}"),
  359. locale("MS\\0x409"),
  360. WmiExpense(1),
  361. Description("NDIS Driver Version")]
  362. class NdisDriverVersion
  363. {
  364. [key, read]
  365. string InstanceName;
  366. [read]
  367. boolean Active;
  368. [read,
  369. Description("The NDIS version in use by the NIC driver."),
  370. WmiDataId(1)] uint16 NdisDriverVersion;
  371. };
  372. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10363-a61a-11d0-8dd4-00c04fc3358c}"),
  373. locale("MS\\0x409"),
  374. WmiExpense(1),
  375. Description("NDIS Maximum Packet Total Size")]
  376. class NdisMaximumTotalSize
  377. {
  378. [key, read]
  379. string InstanceName;
  380. [read]
  381. boolean Active;
  382. [read,
  383. Description("The maximum total packet length, in bytes, the NIC supports, including the header."),
  384. WmiDataId(1)] uint32 NdisMaximumTotalSize;
  385. };
  386. //
  387. // This is an inclusive OR of the following types:
  388. //
  389. // NDIS_PROT_OPTION_ESTIMATED_LENGTH 0x00000001
  390. // NDIS_PROT_OPTION_NO_LOOPBACK 0x00000002
  391. // NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT 0x00000004
  392. //
  393. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10365-a61a-11d0-8dd4-00c04fc3358c}"),
  394. locale("MS\\0x409"),
  395. WmiExpense(1),
  396. Description("NDIS MAC Options")]
  397. class NdisMacOptions
  398. {
  399. [key, read]
  400. string InstanceName;
  401. [read]
  402. boolean Active;
  403. [read,
  404. Description("A bitmask that defines optional properties of the underlying driver or its NIC."),
  405. WmiDataId(1)] uint32 NdisMacOptions;
  406. //
  407. // This is an inclusive OR of the following types:
  408. //
  409. // NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA 0x00000001
  410. // NDIS_MAC_OPTION_RECEIVE_SERIALIZED 0x00000002
  411. // NDIS_MAC_OPTION_TRANSFERS_NOT_PEND 0x00000004
  412. // NDIS_MAC_OPTION_NO_LOOPBACK 0x00000008
  413. // NDIS_MAC_OPTION_FULL_DUPLEX 0x00000010
  414. // NDIS_MAC_OPTION_EOTX_INDICATION 0x00000020
  415. // NDIS_MAC_OPTION_RESERVED 0x80000000
  416. //
  417. };
  418. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10366-a61a-11d0-8dd4-00c04fc3358c}"),
  419. locale("MS\\0x409"),
  420. WmiExpense(1),
  421. Description("NDIS Media Connect Status")]
  422. class NdisMediaConnectStatus
  423. {
  424. [key, read]
  425. string InstanceName;
  426. [read]
  427. boolean Active;
  428. [read,
  429. Description("The connection status of the NIC on the network."),
  430. WmiEnum{"0=NdisMediaStateConnected",
  431. "1=NdisMediaStateDisconnected"},
  432. WmiDataId(1)] uint32 NdisMediaConnectStatus;
  433. //
  434. //
  435. //
  436. // Defines the state of the LAN media
  437. //
  438. // typedef enum _NDIS_MEDIA_STATE
  439. // {
  440. // NdisMediaStateConnected,
  441. // NdisMediaStateDisconnected
  442. // } NDIS_MEDIA_STATE, *PNDIS_MEDIA_STATE;
  443. //
  444. //
  445. };
  446. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10367-a61a-11d0-8dd4-00c04fc3358c}"),
  447. locale("MS\\0x409"),
  448. WmiExpense(1),
  449. Description("NDIS Maximum Send Packets")]
  450. class NdisMaximumSendPackets
  451. {
  452. [key, read]
  453. string InstanceName;
  454. [read]
  455. boolean Active;
  456. [read,
  457. Description("The maximum number of send packets the MiniportSendPackets function can accept."),
  458. WmiDataId(1)] uint32 NdisMaximumSendPackets;
  459. };
  460. [WMI, Dynamic, Provider("WMIProv"), guid("{447956f9-a61b-11d0-8dd4-00c04fc3358c}"),
  461. locale("MS\\0x409"),
  462. WmiExpense(1),
  463. Description("NDIS Vendor's Driver Version")]
  464. class NdisVendorDriverVersion
  465. {
  466. [key, read]
  467. string InstanceName;
  468. [read]
  469. boolean Active;
  470. [read,
  471. Description("The vendor-assigned version number of the NIC driver."),
  472. WmiDataId(1)] uint32 NdisVendorDriverVersion;
  473. };
  474. [WMI, Dynamic, Provider("WMIProv"), guid("{447956fa-a61b-11d0-8dd4-00c04fc3358c}"),
  475. locale("MS\\0x409"),
  476. WmiExpense(1),
  477. Description("NDIS Transmits OK")]
  478. class NdisTransmitsOk
  479. {
  480. [key, read]
  481. string InstanceName;
  482. [read]
  483. boolean Active;
  484. [read,
  485. Description("The number of frames transmitted without errors"),
  486. WmiDataId(1)] uint64 NdisTransmitsOk;
  487. };
  488. [WMI, Dynamic, Provider("WMIProv"), guid("{447956fb-a61b-11d0-8dd4-00c04fc3358c}"),
  489. locale("MS\\0x409"),
  490. WmiExpense(1),
  491. Description("NDIS Receives OK")]
  492. class NdisReceivesOk
  493. {
  494. [key, read]
  495. string InstanceName;
  496. [read]
  497. boolean Active;
  498. [read,
  499. Description("The number of frames the NIC receives without errors and indicates to bound protocols."),
  500. WmiDataId(1)] uint64 NdisReceivesOk;
  501. };
  502. [WMI, Dynamic, Provider("WMIProv"), guid("{447956fc-a61b-11d0-8dd4-00c04fc3358c}"),
  503. locale("MS\\0x409"),
  504. WmiExpense(1),
  505. Description("NDIS Transmit Errors")]
  506. class NdisTransmitsError
  507. {
  508. [key, read]
  509. string InstanceName;
  510. [read]
  511. boolean Active;
  512. [read,
  513. Description("The number of frames a NIC fails to transmit."),
  514. WmiDataId(1)] uint32 NdisTransmitsError;
  515. };
  516. [WMI, Dynamic, Provider("WMIProv"), guid("{447956fd-a61b-11d0-8dd4-00c04fc3358c}"),
  517. locale("MS\\0x409"),
  518. WmiExpense(1),
  519. Description("NDIS Receive Errors")]
  520. class NdisReceiveError
  521. {
  522. [key, read]
  523. string InstanceName;
  524. [read]
  525. boolean Active;
  526. [read,
  527. Description("The number of frames a NIC receives but does not indicate to the protocols due to errors."),
  528. WmiDataId(1)] uint32 NdisReceiveError;
  529. };
  530. [WMI, Dynamic, Provider("WMIProv"), guid("{447956fe-a61b-11d0-8dd4-00c04fc3358c}"),
  531. locale("MS\\0x409"),
  532. WmiExpense(1),
  533. Description("NDIS Receive No Buffer")]
  534. class NdisReceiveNoBuffer
  535. {
  536. [key, read]
  537. string InstanceName;
  538. [read]
  539. boolean Active;
  540. [read,
  541. Description("The number of frames the NIC cannot receive due to lack of NIC receive buffer space."),
  542. WmiDataId(1)] uint32 NdisReceiveNoBuffer;
  543. };
  544. ///
  545. ///
  546. /// CoNDIS general GUIDs
  547. ///
  548. ///
  549. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad192-e35c-11d0-9692-00c04fc3358c}"),
  550. locale("MS\\0x409"),
  551. WmiExpense(1),
  552. Description("CoNDIS Hardware Status")]
  553. class NdisCoHardwareStatus
  554. {
  555. [key, read]
  556. string InstanceName;
  557. [read]
  558. boolean Active;
  559. [read,
  560. Description("Current hardware status of the underlying NIC."),
  561. WmiDataId(1)] uint32 NdisCoHardwareStatus;
  562. };
  563. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad193-e35c-11d0-9692-00c04fc3358c}"),
  564. locale("MS\\0x409"),
  565. WmiExpense(1),
  566. Description("CoNDIS Media Types Supported")]
  567. class NdisCoMediaSupported
  568. {
  569. [key, read]
  570. string InstanceName;
  571. [read]
  572. boolean Active;
  573. [read,
  574. Description("Number of media types supported."),
  575. WmiDataId(1)] uint32 NumberElements;
  576. [read,
  577. Description("List of media types the NIC supports."),
  578. WmiDataId(2),
  579. WmiSizeIs("NumberElements")] uint32 NdisCoMediaSupported[];
  580. };
  581. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad194-e35c-11d0-9692-00c04fc3358c}"),
  582. locale("MS\\0x409"),
  583. WmiExpense(1),
  584. Description("CoNDIS Media Types In Use")]
  585. class NdisCoMediaInUse
  586. {
  587. [key, read]
  588. string InstanceName;
  589. [read]
  590. boolean Active;
  591. [read,
  592. Description("Number of media types in use."),
  593. WmiDataId(1)] uint32 NumberElements;
  594. [read,
  595. Description("List of media types the NIC is currently supporting."),
  596. WmiDataId(2),
  597. WmiSizeIs("NumberElements")] uint32 NdisCoMediaInUse[];
  598. };
  599. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad195-e35c-11d0-9692-00c04fc3358c}"),
  600. locale("MS\\0x409"),
  601. WmiExpense(1),
  602. Description("CoNDIS Link Speed")]
  603. class NdisCoLinkSpeed
  604. {
  605. [key, read]
  606. string InstanceName;
  607. [read]
  608. boolean Active;
  609. [read,
  610. Description("The maximum inbound and outbound speeds of the NIC (kbps)."),
  611. WmiDataId(1)] NetworkLinkSpeed NdisCoLinkSpeed;
  612. };
  613. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad196-e35c-11d0-9692-00c04fc3358c}"),
  614. locale("MS\\0x409"),
  615. WmiExpense(1),
  616. Description("CoNDIS Vendor ID")]
  617. class NdisCoVendorId
  618. {
  619. [key, read]
  620. string InstanceName;
  621. [read]
  622. boolean Active;
  623. [read,
  624. Description("A three-byte IEEE-registered vendor code, followed by a single byte the vendor assigns to identify a particular NIC."),
  625. WmiDataId(1)] uint32 NdisCoVendorID;
  626. };
  627. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad197-e35c-11d0-9692-00c04fc3358c}"),
  628. locale("MS\\0x409"),
  629. WmiExpense(1),
  630. Description("CoNDIS Vendor Description")]
  631. class NdisCoVendorDescription
  632. {
  633. [key, read]
  634. string InstanceName;
  635. [read]
  636. boolean Active;
  637. [read,
  638. Description("Zero-terminated string describing the NIC."),
  639. WmiDataId(1)] string NdisCoVendorDescription;
  640. };
  641. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad198-e35c-11d0-9692-00c04fc3358c}"),
  642. locale("MS\\0x409"),
  643. WmiExpense(1),
  644. Description("CoNDIS Driver Version")]
  645. class NdisCoDriverVersion
  646. {
  647. [key, read]
  648. string InstanceName;
  649. [read]
  650. boolean Active;
  651. [read,
  652. Description("The NDIS version in use by the NIC driver."),
  653. WmiDataId(1)] uint32 NdisCoDriverVersion;
  654. };
  655. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad19a-e35c-11d0-9692-00c04fc3358c}"),
  656. locale("MS\\0x409"),
  657. WmiExpense(1),
  658. Description("CoNDIS MAC Options")]
  659. class NdisCoMacOptions
  660. {
  661. [key, read]
  662. string InstanceName;
  663. [read]
  664. boolean Active;
  665. [read,
  666. Description("A bitmask that defines optional properties of the underlying driver or its NIC."),
  667. WmiDataId(1)] uint32 NdisCoMacOptions;
  668. //
  669. //
  670. // NDIS MAC option bits for OID_GEN_CO_MAC_OPTIONS.
  671. //
  672. // #define NDIS_CO_MAC_OPTION_DYNAMIC_LINK_SPEED 0x00000001
  673. //
  674. //
  675. };
  676. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad19b-e35c-11d0-9692-00c04fc3358c}"),
  677. locale("MS\\0x409"),
  678. WmiExpense(1),
  679. Description("CoNDIS Media Connect Status")]
  680. class NdisCoMediaConnectStatus
  681. {
  682. [key, read]
  683. string InstanceName;
  684. [read]
  685. boolean Active;
  686. [read,
  687. Description("The connection status of the NIC on the network."),
  688. WmiEnum{"0=NdisMediaStateConnected",
  689. "1=NdisMediaStateDisconnected"},
  690. WmiDataId(1)] uint32 NdisCoMediaConnectStatus;
  691. //
  692. //
  693. //
  694. // Defines the state of the LAN media
  695. //
  696. // typedef enum _NDIS_MEDIA_STATE
  697. // {
  698. // NdisMediaStateConnected,
  699. // NdisMediaStateDisconnected
  700. // } NDIS_MEDIA_STATE, *PNDIS_MEDIA_STATE;
  701. //
  702. };
  703. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad19c-e35c-11d0-9692-00c04fc3358c}"),
  704. locale("MS\\0x409"),
  705. WmiExpense(1),
  706. Description("CoNDIS Vendor's Driver Version")]
  707. class NdisCoVendorDriverVersion
  708. {
  709. [key, read]
  710. string InstanceName;
  711. [read]
  712. boolean Active;
  713. [read,
  714. Description("The vendor-assigned version number of the NIC driver."),
  715. WmiDataId(1)] uint32 NdisCoVendorDriverVersion;
  716. };
  717. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad19d-e35c-11d0-9692-00c04fc3358c}"),
  718. locale("MS\\0x409"),
  719. WmiExpense(1),
  720. Description("CoNDIS Minimum Link Speed")]
  721. class NdisCoMinimumLinkSpeed
  722. {
  723. [key, read]
  724. string InstanceName;
  725. [read]
  726. boolean Active;
  727. [read,
  728. Description("The maximum inbound and outbound speeds of the NIC (kbps)."),
  729. WmiDataId(1)] NetworkLinkSpeed NdisCoMinimumLinkSpeed;
  730. };
  731. [WMI, Dynamic, Provider("WMIProv"), guid("{0a214805-e35f-11d0-9692-00c04fc3358c}"),
  732. locale("MS\\0x409"),
  733. WmiExpense(1),
  734. Description("CoNDIS Transmits PDUs OK")]
  735. class NdisCoTransmitPdusOk
  736. {
  737. [key, read]
  738. string InstanceName;
  739. [read]
  740. boolean Active;
  741. [read,
  742. Description("The number of PDUs transmitted without errors"),
  743. WmiDataId(1)] uint64 NdisCoTransmitPdusOk;
  744. };
  745. [WMI, Dynamic, Provider("WMIProv"), guid("{0a214806-e35f-11d0-9692-00c04fc3358c}"),
  746. locale("MS\\0x409"),
  747. WmiExpense(1),
  748. Description("CoNDIS Receive PDUs OK")]
  749. class NdisCoReceivePdusOk
  750. {
  751. [key, read]
  752. string InstanceName;
  753. [read]
  754. boolean Active;
  755. [read,
  756. Description("The number of PDUs the NIC receives without errors and indicates to bound protocols."),
  757. WmiDataId(1)] uint64 NdisCoReceivePdusOk;
  758. };
  759. [WMI, Dynamic, Provider("WMIProv"), guid("{0a214807-e35f-11d0-9692-00c04fc3358c}"),
  760. locale("MS\\0x409"),
  761. WmiExpense(1),
  762. Description("CoNDIS Transmit PDU Errors")]
  763. class NdisCoTransmitPduErrors
  764. {
  765. [key, read]
  766. string InstanceName;
  767. [read]
  768. boolean Active;
  769. [read,
  770. Description("The number of PDUs a NIC fails to transmit."),
  771. WmiDataId(1)] uint32 NdisCoTransmitPduErrors;
  772. };
  773. [WMI, Dynamic, Provider("WMIProv"), guid("{0a214808-e35f-11d0-9692-00c04fc3358c}"),
  774. locale("MS\\0x409"),
  775. WmiExpense(1),
  776. Description("CoNDIS Receive PDU Errors")]
  777. class NdisCoReceivePduErrors
  778. {
  779. [key, read]
  780. string InstanceName;
  781. [read]
  782. boolean Active;
  783. [read,
  784. Description("The number of PDUs a NIC receives but does not indicate to the protocols due to errors."),
  785. WmiDataId(1)] uint32 NdisCoReceivePduErrors;
  786. };
  787. [WMI, Dynamic, Provider("WMIProv"), guid("{0a214809-e35f-11d0-9692-00c04fc3358c}"),
  788. locale("MS\\0x409"),
  789. WmiExpense(1),
  790. Description("CoNDIS Receive PDUs No Buffer")]
  791. class NdisCoReceivePdusNoBuffer
  792. {
  793. [key, read]
  794. string InstanceName;
  795. [read]
  796. boolean Active;
  797. [read,
  798. Description("The number of PDUs the NIC cannot receive due to lack of NIC receive buffer space."),
  799. WmiDataId(1)] uint32 NdisCoReceivePdusNoBuffer;
  800. };
  801. ///
  802. ///
  803. /// ATM media specific GUIDs
  804. ///
  805. ///
  806. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad19e-e35c-11d0-9692-00c04fc3358c}"),
  807. locale("MS\\0x409"),
  808. WmiExpense(1),
  809. Description("NDIS ATM Supported VC Rates")]
  810. class NdisAtmSupportedVcRates
  811. {
  812. [key, read]
  813. string InstanceName;
  814. [read]
  815. boolean Active;
  816. [read,
  817. Description("Minimum cell rate supported."),
  818. WmiDataId(1)] uint32 MinCellRate;
  819. [read,
  820. Description("Maximum cell rate supported."),
  821. WmiDataId(2)] uint32 MaxCellRate;
  822. };
  823. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad19f-e35c-11d0-9692-00c04fc3358c}"),
  824. locale("MS\\0x409"),
  825. WmiExpense(1),
  826. Description("NDIS ATM Supported Service Category")]
  827. class NdisAtmSupportedServiceCategory
  828. {
  829. [key, read]
  830. string InstanceName;
  831. [read]
  832. boolean Active;
  833. [read,
  834. Description("Bit mask defining the service categories supported by the hardware."),
  835. WmiDataId(1)] uint32 NdisAtmSupportedServiceCategory;
  836. //
  837. // This can be a combination of following defines:
  838. //
  839. // #define ATM_SERVICE_CATEGORY_CBR 1 // Constant Bit Rate
  840. // #define ATM_SERVICE_CATEGORY_VBR 2 // Variable Bit Rate
  841. // #define ATM_SERVICE_CATEGORY_UBR 4 // Unspecified Bit Rate
  842. // #define ATM_SERVICE_CATEGORY_ABR 8 // Available Bit Rate
  843. //
  844. };
  845. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a0-e35c-11d0-9692-00c04fc3358c}"),
  846. locale("MS\\0x409"),
  847. WmiExpense(1),
  848. Description("NDIS ATM Supported AAL Types")]
  849. class NdisAtmSupportedAalTypes
  850. {
  851. [key, read]
  852. string InstanceName;
  853. [read]
  854. boolean Active;
  855. [read,
  856. Description("Bit mask defining the AAL types supported by the hardware."),
  857. WmiDataId(1)] uint32 NdisAtmSupportedAalTypes;
  858. //
  859. // This can be a combination of the following defines:
  860. //
  861. // #define AAL_TYPE_AAL0 1
  862. // #define AAL_TYPE_AAL1 2
  863. // #define AAL_TYPE_AAL34 4
  864. // #define AAL_TYPE_AAL5 8
  865. //
  866. };
  867. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a1-e35c-11d0-9692-00c04fc3358c}"),
  868. locale("MS\\0x409"),
  869. WmiExpense(1),
  870. Description("NDIS ATM Hardware Current Address")]
  871. class NdisAtmHardwareCurrentAddress
  872. {
  873. [key, read]
  874. string InstanceName;
  875. [read]
  876. boolean Active;
  877. [read,
  878. Description("The address of the NIC encoded in the hardware."),
  879. WmiDataId(1)] NetworkAddress NdisAtmHardwareCurrentAddress;
  880. };
  881. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a2-e35c-11d0-9692-00c04fc3358c}"),
  882. locale("MS\\0x409"),
  883. WmiExpense(1),
  884. Description("NDIS ATM Maximum Active VCs")]
  885. class NdisAtmMaxActiveVcs
  886. {
  887. [key, read]
  888. string InstanceName;
  889. [read]
  890. boolean Active;
  891. [read,
  892. Description("Maximum number of active VCs the adapter can support."),
  893. WmiDataId(1)] uint32 NdisAtmMaxActiveVcs;
  894. };
  895. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a3-e35c-11d0-9692-00c04fc3358c}"),
  896. locale("MS\\0x409"),
  897. WmiExpense(1),
  898. Description("NDIS ATM Maximum Active VCI Bits")]
  899. class NdisAtmMaxActiveVciBits
  900. {
  901. [key, read]
  902. string InstanceName;
  903. [read]
  904. boolean Active;
  905. [read,
  906. Description("The number of bits controllable in the VCI field of the cell header."),
  907. WmiDataId(1)] uint32 NdisAtmMaxActiveVciBits;
  908. };
  909. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a4-e35c-11d0-9692-00c04fc3358c}"),
  910. locale("MS\\0x409"),
  911. WmiExpense(1),
  912. Description("NDIS ATM Maximum Active VPI Bits")]
  913. class NdisAtmMaxActiveVpiBits
  914. {
  915. [key, read]
  916. string InstanceName;
  917. [read]
  918. boolean Active;
  919. [read,
  920. Description("The number of bits controllable in the VPI field of the cell header."),
  921. WmiDataId(1)] uint32 NdisAtmMaxActiveVpiBits;
  922. };
  923. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a5-e35c-11d0-9692-00c04fc3358c}"),
  924. locale("MS\\0x409"),
  925. WmiExpense(1),
  926. Description("NDIS ATM Maximum AAL0 Packet Size")]
  927. class NdisAtmMaxAal0PacketSize
  928. {
  929. [key, read]
  930. string InstanceName;
  931. [read]
  932. boolean Active;
  933. [read,
  934. Description("Maximum supported size for AAL0 packets."),
  935. WmiDataId(1)] uint32 NdisAtmMaxAal0PacketSize;
  936. };
  937. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a6-e35c-11d0-9692-00c04fc3358c}"),
  938. locale("MS\\0x409"),
  939. WmiExpense(1),
  940. Description("NDIS ATM Maximum AAL1 Packet Size")]
  941. class NdisAtmMaxAal1PacketSize
  942. {
  943. [key, read]
  944. string InstanceName;
  945. [read]
  946. boolean Active;
  947. [read,
  948. Description("Maximum supported size for AAL1 packets."),
  949. WmiDataId(1)] uint32 NdisAtmMaxAal1PacketSize;
  950. };
  951. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad1a7-e35c-11d0-9692-00c04fc3358c}"),
  952. locale("MS\\0x409"),
  953. WmiExpense(1),
  954. Description("NDIS ATM Maximum AAL3/4 Packet Size")]
  955. class NdisAtmMaxAal34PacketSize
  956. {
  957. [key, read]
  958. string InstanceName;
  959. [read]
  960. boolean Active;
  961. [read,
  962. Description("Maximum supported size for AAL3/4 packets."),
  963. WmiDataId(1)] uint32 NdisAtmMaxAal34PacketSize;
  964. };
  965. [WMI, Dynamic, Provider("WMIProv"), guid("{791ad191-e35c-11d0-9692-00c04fc3358c}"),
  966. locale("MS\\0x409"),
  967. WmiExpense(1),
  968. Description("NDIS ATM Maximum AAL5 Packet Size")]
  969. class NdisAtmMaxAal5PacketSize
  970. {
  971. [key, read]
  972. string InstanceName;
  973. [read]
  974. boolean Active;
  975. [read,
  976. Description("Maximum supported size for AAL5 packets."),
  977. WmiDataId(1)] uint32 NdisAtmMaxAal5PacketSize;
  978. };
  979. [WMI, Dynamic, Provider("WMIProv"), guid("{0a21480a-e35c-11d0-9692-00c04fc3358c}"),
  980. locale("MS\\0x409"),
  981. WmiExpense(1),
  982. Description("NDIS ATM Receive Cells OK")]
  983. class NdisAtmReceiveCellsOk
  984. {
  985. [key, read]
  986. string InstanceName;
  987. [read]
  988. boolean Active;
  989. [read,
  990. Description("The number of cells the NIC has received without errors."),
  991. WmiDataId(1)] uint64 NdisAtmReceiveCellsOk;
  992. };
  993. [WMI, Dynamic, Provider("WMIProv"), guid("{0a21480b-e35c-11d0-9692-00c04fc3358c}"),
  994. locale("MS\\0x409"),
  995. WmiExpense(1),
  996. Description("NDIS ATM Transmit Cells OK")]
  997. class NdisAtmTransmitCellsOk
  998. {
  999. [key, read]
  1000. string InstanceName;
  1001. [read]
  1002. boolean Active;
  1003. [read,
  1004. Description("The number of cells the NIC has transmitted without errors."),
  1005. WmiDataId(1)] uint64 NdisAtmTransmitCellsOk;
  1006. };
  1007. [WMI, Dynamic, Provider("WMIProv"), guid("{0a21480c-e35c-11d0-9692-00c04fc3358c}"),
  1008. locale("MS\\0x409"),
  1009. WmiExpense(1),
  1010. Description("NDIS ATM Receive Cells Dropped")]
  1011. class NdisAtmReceiveCellsDropped
  1012. {
  1013. [key, read]
  1014. string InstanceName;
  1015. [read]
  1016. boolean Active;
  1017. [read,
  1018. Description("The number of receive cells the NIC has dropped."),
  1019. WmiDataId(1)] uint64 NdisAtmReceiveCellsDropped;
  1020. };
  1021. ///
  1022. ///
  1023. /// Ethernet specific GUIDs
  1024. ///
  1025. ///
  1026. [WMI, Dynamic, Provider("WMIProv"), guid("{447956ff-a61b-11d0-8dd4-00c04fc3358c}"),
  1027. locale("MS\\0x409"),
  1028. WmiExpense(1),
  1029. Description("NDIS Ethernet Permanent Address")]
  1030. class NdisEthernetPermanentAddress
  1031. {
  1032. [key, read]
  1033. string InstanceName;
  1034. [read]
  1035. boolean Active;
  1036. [read,
  1037. Description("The address of the NIC encoded in the hardware."),
  1038. WmiDataId(1)] NetworkAddress NdisPermanentAddress;
  1039. };
  1040. [WMI, Dynamic, Provider("WMIProv"), guid("{44795700-a61b-11d0-8dd4-00c04fc3358c}"),
  1041. locale("MS\\0x409"),
  1042. WmiExpense(1),
  1043. Description("NDIS Ethernet Current Address")]
  1044. class NdisEthernetCurrentAddress
  1045. {
  1046. [key, read]
  1047. string InstanceName;
  1048. [read]
  1049. boolean Active;
  1050. [read,
  1051. Description("The address the NIC is currently using."),
  1052. WmiDataId(1)] NetworkAddress NdisCurrentAddress;
  1053. };
  1054. [WMI, Dynamic, Provider("WMIProv"), guid("{44795701-a61b-11d0-8dd4-00c04fc3358c}"),
  1055. locale("MS\\0x409"),
  1056. WmiExpense(1),
  1057. Description("NDIS Ethernet Multicast List")]
  1058. class NdisEthernetMulticastList
  1059. {
  1060. [key, read]
  1061. string InstanceName;
  1062. [read]
  1063. boolean Active;
  1064. [read,
  1065. Description("Number of multicast addresses enabled on the NIC."),
  1066. WmiDataId(1)] uint32 NumberElements;
  1067. [read,
  1068. Description("The multicast address list on the NIC enabled for packet reception."),
  1069. WmiDataId(2),
  1070. WmiSizeIs("NumberElements")] NetworkAddress NdisMulticastList[];
  1071. };
  1072. [WMI, Dynamic, Provider("WMIProv"), guid("{44795702-a61b-11d0-8dd4-00c04fc3358c}"),
  1073. locale("MS\\0x409"),
  1074. WmiExpense(1),
  1075. Description("Adpater Ethernet Maximum Multicast List Size")]
  1076. class NdisEthernetMaximumMulticastListSize
  1077. {
  1078. [key, read]
  1079. string InstanceName;
  1080. [read]
  1081. boolean Active;
  1082. [read,
  1083. Description("The maximum number of multicast addresses the NIC driver can manage."),
  1084. WmiDataId(1)] uint32 NdisEthernetMaximumMulticastListSize;
  1085. };
  1086. [WMI, Dynamic, Provider("WMIProv"), guid("{5ec10365-a61b-11d0-8dd4-00c04fc3358c}"),
  1087. locale("MS\\0x409"),
  1088. WmiExpense(1),
  1089. Description("NDIS MAC Options")]
  1090. class NdisMacOptions
  1091. {
  1092. [key, read]
  1093. string InstanceName;
  1094. [read]
  1095. boolean Active;
  1096. [read,
  1097. Description("Features supported by the underlying driver."),
  1098. WmiDataId(1)] uint32 NdisMacOptions;
  1099. //
  1100. // Supported values:
  1101. //
  1102. // NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA 0x00000001
  1103. // NDIS_MAC_OPTION_RECEIVE_SERIALIZED 0x00000002
  1104. // NDIS_MAC_OPTION_TRANSFERS_NOT_PEND 0x00000004
  1105. // NDIS_MAC_OPTION_NO_LOOPBACK 0x00000008
  1106. // NDIS_MAC_OPTION_FULL_DUPLEX 0x00000010
  1107. // NDIS_MAC_OPTION_EOTX_INDICATION 0x00000020
  1108. // NDIS_MAC_OPTION_8021P_PRIORITY 0x00000040
  1109. // NDIS_MAC_OPTION_RESERVED 0x80000000
  1110. //
  1111. };
  1112. [WMI, Dynamic, Provider("WMIProv"), guid("{44795703-a61b-11d0-8dd4-00c04fc3358c}"),
  1113. locale("MS\\0x409"),
  1114. WmiExpense(1),
  1115. Description("NDIS Ethernet MAC Options")]
  1116. class NdisEthernetMacOptions
  1117. {
  1118. [key, read]
  1119. string InstanceName;
  1120. [read]
  1121. boolean Active;
  1122. [read,
  1123. Description("Features supported by the underlying driver, which could be emulating Ethernet."),
  1124. WmiDataId(1)] uint32 NdisEthernetMacOptions;
  1125. //
  1126. // Supported values:
  1127. //
  1128. // NDIS_802_3_MAC_OPTION_PRIORITY 0x00000001
  1129. //
  1130. };
  1131. [WMI, Dynamic, Provider("WMIProv"), guid("{44795704-a61b-11d0-8dd4-00c04fc3358c}"),
  1132. locale("MS\\0x409"),
  1133. WmiExpense(1),
  1134. Description("NDIS Ethernet Receive Error Alignment")]
  1135. class NdisEthernetReceiveErrorAlignment
  1136. {
  1137. [key, read]
  1138. string InstanceName;
  1139. [read]
  1140. boolean Active;
  1141. [read,
  1142. Description("The number of frames received with alignment errors."),
  1143. WmiDataId(1)] uint32 NdisEthernetReceiveErrorAlignment;
  1144. };
  1145. [WMI, Dynamic, Provider("WMIProv"), guid("{44795705-a61b-11d0-8dd4-00c04fc3358c}"),
  1146. locale("MS\\0x409"),
  1147. WmiExpense(1),
  1148. Description("NDIS Ethernet One Transmit collision")]
  1149. class NdisEthernetOneTransmitCollision
  1150. {
  1151. [key, read]
  1152. string InstanceName;
  1153. [read]
  1154. boolean Active;
  1155. [read,
  1156. Description("The number of frames successfully transmitted after exactly one collision."),
  1157. WmiDataId(1)] uint64 NdisEthernetOneTransmitCollision;
  1158. };
  1159. [WMI, Dynamic, Provider("WMIProv"), guid("{44795706-a61b-11d0-8dd4-00c04fc3358c}"),
  1160. locale("MS\\0x409"),
  1161. WmiExpense(1),
  1162. Description("NDIS Ethernet More Transmit collisions")]
  1163. class NdisEthernetMoreTransmitCollisions
  1164. {
  1165. [key, read]
  1166. string InstanceName;
  1167. [read]
  1168. boolean Active;
  1169. [read,
  1170. Description("The number of frames successfully transmitted after more than one collision."),
  1171. WmiDataId(1)] uint64 NdisEthernetMoreTransmitCollisions;
  1172. };
  1173. ///
  1174. ///
  1175. /// Token Ring specific GUIDs
  1176. ///
  1177. ///
  1178. [WMI, Dynamic, Provider("WMIProv"), guid("{44795707-a61b-11d0-8dd4-00c04fc3358c}"),
  1179. locale("MS\\0x409"),
  1180. WmiExpense(1),
  1181. Description("NDIS Token Ring Permanent Address")]
  1182. class NdisTokenRingPermanentAddress
  1183. {
  1184. [key, read]
  1185. string InstanceName;
  1186. [read]
  1187. boolean Active;
  1188. [read,
  1189. Description("The address of the NIC encoded in the hardware."),
  1190. WmiDataId(1)] NetworkAddress NdisPermanentAddress;
  1191. };
  1192. [WMI, Dynamic, Provider("WMIProv"), guid("{44795708-a61b-11d0-8dd4-00c04fc3358c}"),
  1193. locale("MS\\0x409"),
  1194. WmiExpense(1),
  1195. Description("NDIS Token Ring Current Address")]
  1196. class NdisTokenRingCurrentAddress
  1197. {
  1198. [key, read]
  1199. string InstanceName;
  1200. [read]
  1201. boolean Active;
  1202. [read,
  1203. Description("The address the NIC is currently using."),
  1204. WmiDataId(1)] NetworkAddress NdisCurrentAddress;
  1205. };
  1206. [WMI, Dynamic, Provider("WMIProv"), guid("{44795709-a61b-11d0-8dd4-00c04fc3358c}"),
  1207. locale("MS\\0x409"),
  1208. WmiExpense(1),
  1209. Description("NDIS Token Ring Current Functional Address")]
  1210. class NdisTokenRingCurrentFunctional
  1211. {
  1212. [key, read]
  1213. string InstanceName;
  1214. [read]
  1215. boolean Active;
  1216. [read,
  1217. Description("The functional address enabled on the NIC for packet reception."),
  1218. WmiDataId(1)] uint32 NdisTokenRingCurrentFunctional;
  1219. };
  1220. [WMI, Dynamic, Provider("WMIProv"), guid("{4479570a-a61b-11d0-8dd4-00c04fc3358c}"),
  1221. locale("MS\\0x409"),
  1222. WmiExpense(1),
  1223. Description("NDIS Token Ring Current Group Address")]
  1224. class NdisTokenRingCurrentGroup
  1225. {
  1226. [key, read]
  1227. string InstanceName;
  1228. [read]
  1229. boolean Active;
  1230. [read,
  1231. Description("The group address enabled on the NIC for packet reception."),
  1232. WmiDataId(1)] uint32 NdisTokenRingCurrentGroup;
  1233. };
  1234. [WMI, Dynamic, Provider("WMIProv"), guid("{4479570b-a61b-11d0-8dd4-00c04fc3358c}"),
  1235. locale("MS\\0x409"),
  1236. WmiExpense(1),
  1237. Description("NDIS Token Ring Last Open Status")]
  1238. class NdisTokenRingLastOpenStatus
  1239. {
  1240. [key, read]
  1241. string InstanceName;
  1242. [read]
  1243. boolean Active;
  1244. [read,
  1245. Description("The last open error status returned for a protocol's call to NdisOpenAdapter."),
  1246. WmiDataId(1)] uint32 NdisTokenRingLastOpenStatus;
  1247. };
  1248. [WMI, Dynamic, Provider("WMIProv"), guid("{890a36ec-a61c-11d0-8dd4-00c04fc3358c}"),
  1249. locale("MS\\0x409"),
  1250. WmiExpense(1),
  1251. Description("NDIS Token Ring Current Ring Status")]
  1252. class NdisTokenRingCurrentRingStatus
  1253. {
  1254. [key, read]
  1255. string InstanceName;
  1256. [read]
  1257. boolean Active;
  1258. [read,
  1259. Description("The last ring status indicated with an NDIS_RING_XXX status code."),
  1260. WmiDataId(1)] uint32 NdisTokenRingCurrentRingStatus;
  1261. //
  1262. // This can be one of the following values:
  1263. //
  1264. // NDIS_RING_SIGNAL_LOSS 0x00008000
  1265. // NDIS_RING_HARD_ERROR 0x00004000
  1266. // NDIS_RING_SOFT_ERROR 0x00002000
  1267. // NDIS_RING_TRANSMIT_BEACON 0x00001000
  1268. // NDIS_RING_LOBE_WIRE_FAULT 0x00000800
  1269. // NDIS_RING_AUTO_REMOVAL_ERROR 0x00000400
  1270. // NDIS_RING_REMOVE_RECEIVED 0x00000200
  1271. // NDIS_RING_COUNTER_OVERFLOW 0x00000100
  1272. // NDIS_RING_SINGLE_STATION 0x00000080
  1273. // NDIS_RING_RING_RECOVERY 0x00000040
  1274. //
  1275. };
  1276. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14032-a61c-11d0-8dd4-00c04fc3358c}"),
  1277. locale("MS\\0x409"),
  1278. WmiExpense(1),
  1279. Description("NDIS Token Ring Current Ring State.")]
  1280. class NdisTokenRingCurrentRingState
  1281. {
  1282. [key, read]
  1283. string InstanceName;
  1284. [read]
  1285. boolean Active;
  1286. [read,
  1287. Description("The state of the NIC driver with repsect to entering the ring."),
  1288. WmiEnum{"1=NdisRingStateOpened",
  1289. "2=NdisRingStateClosed",
  1290. "3=NdisRingStateOpening",
  1291. "4=NdisRingStateClosing",
  1292. "5=NdisRingStateOpenFailure",
  1293. "6=NdisRingStateRingFailure"},
  1294. WmiDataId(1)] uint32 NdisTokenRingCurrentRingState;
  1295. //
  1296. // This is defined as follows:
  1297. //
  1298. // typedef enum _NDIS_802_5_RING_STATE
  1299. // {
  1300. // NdisRingStateOpened = 1,
  1301. // NdisRingStateClosed,
  1302. // NdisRingStateOpening,
  1303. // NdisRingStateClosing,
  1304. // NdisRingStateOpenFailure,
  1305. // NdisRingStateRingFailure
  1306. // } NDIS_802_5_RING_STATE, *PNDIS_802_5_RING_STATE;
  1307. //
  1308. };
  1309. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14033-a61c-11d0-8dd4-00c04fc3358c}"),
  1310. locale("MS\\0x409"),
  1311. WmiExpense(1),
  1312. Description("NDIS Token Ring Line Errors")]
  1313. class NdisTokenRingLineErrors
  1314. {
  1315. [key, read]
  1316. string InstanceName;
  1317. [read]
  1318. boolean Active;
  1319. [read,
  1320. Description("Number of frames with an invalid FCS or a code violation."),
  1321. WmiDataId(1)] uint32 NdisTokenRingLineErrors;
  1322. };
  1323. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14034-a61c-11d0-8dd4-00c04fc3358c}"),
  1324. locale("MS\\0x409"),
  1325. WmiExpense(1),
  1326. Description("NDIS Token Ring Lost Frames")]
  1327. class NdisTokenRingLostFrames
  1328. {
  1329. [key, read]
  1330. string InstanceName;
  1331. [read]
  1332. boolean Active;
  1333. [read,
  1334. Description("The number of frames transmitted that have not circled the ring within the maximum ring latency."),
  1335. WmiDataId(1)] uint32 NdisTokenRingLostFrames;
  1336. };
  1337. ///
  1338. ///
  1339. /// FDDI specific GUIDs
  1340. ///
  1341. ///
  1342. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14035-a61c-11d0-8dd4-00c04fc3358c}"),
  1343. locale("MS\\0x409"),
  1344. WmiExpense(1),
  1345. Description("NDIS FDDI Long Permanent Address")]
  1346. class NdisFddiLongPermanentAddress
  1347. {
  1348. [key, read]
  1349. string InstanceName;
  1350. [read]
  1351. boolean Active;
  1352. [read,
  1353. Description("The long address of the NIC encoded in the hardware."),
  1354. WmiDataId(1)] NetworkAddress NdisPermanentAddress;
  1355. };
  1356. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14036-a61c-11d0-8dd4-00c04fc3358c}"),
  1357. locale("MS\\0x409"),
  1358. WmiExpense(1),
  1359. Description("NDIS FDDI Long Current Address")]
  1360. class NdisFddiLongCurrentAddress
  1361. {
  1362. [key, read]
  1363. string InstanceName;
  1364. [read]
  1365. boolean Active;
  1366. [read,
  1367. Description("The long address the NIC is currently using."),
  1368. WmiDataId(1)] NetworkAddress NdisCurrentAddress;
  1369. };
  1370. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14037-a61c-11d0-8dd4-00c04fc3358c}"),
  1371. locale("MS\\0x409"),
  1372. WmiExpense(1),
  1373. Description("NDIS FDDI Long Multicast List")]
  1374. class NdisFddiLongMulticastList
  1375. {
  1376. [key, read]
  1377. string InstanceName;
  1378. [read]
  1379. boolean Active;
  1380. [read,
  1381. Description("Number of multicast addresses enabled on the NIC."),
  1382. WmiDataId(1)] uint32 NumberElements;
  1383. [read,
  1384. Description("The multicast long address list on the NIC enabled for packet reception."),
  1385. WmiDataId(2), WmiSizeIs("NumberElements")]
  1386. NetworkAddress NdisMulticastList[];
  1387. };
  1388. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14038-a61c-11d0-8dd4-00c04fc3358c}"),
  1389. locale("MS\\0x409"),
  1390. WmiExpense(1),
  1391. Description("NDIS FDDI Long Maximum List Size")]
  1392. class NdisFddiLongMaximumListSize
  1393. {
  1394. [key, read]
  1395. string InstanceName;
  1396. [read]
  1397. boolean Active;
  1398. [read,
  1399. Description("The maximum number of multicast long addresses the NIC driver can manage."),
  1400. WmiDataId(1)] uint32 NdisFddiLongMaximumListSize;
  1401. };
  1402. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14039-a61c-11d0-8dd4-00c04fc3358c}"),
  1403. locale("MS\\0x409"),
  1404. WmiExpense(1),
  1405. Description("NDIS FDDI Short Permanent Address")]
  1406. class NdisFddiShortPermanentAddress
  1407. {
  1408. [key, read]
  1409. string InstanceName;
  1410. [read]
  1411. boolean Active;
  1412. [read,
  1413. Description("The short address of the NIC encoded in the hardware."),
  1414. WmiDataId(1)] NetworkShortAddress NdisPermanentAddress;
  1415. };
  1416. [WMI, Dynamic, Provider("WMIProv"), guid("{acf1403a-a61c-11d0-8dd4-00c04fc3358c}"),
  1417. locale("MS\\0x409"),
  1418. WmiExpense(1),
  1419. Description("NDIS FDDI Short Current Address")]
  1420. class NdisFddiShortCurrentAddress
  1421. {
  1422. [key, read]
  1423. string InstanceName;
  1424. [read]
  1425. boolean Active;
  1426. [read,
  1427. Description("The short address the NIC is currently using."),
  1428. WmiDataId(1)] NetworkShortAddress NdisCurrentAddress;
  1429. };
  1430. [WMI, Dynamic, Provider("WMIProv"), guid("{acf1403b-a61c-11d0-8dd4-00c04fc3358c}"),
  1431. locale("MS\\0x409"),
  1432. WmiExpense(1),
  1433. Description("NDIS FDDI Short Multicast List")]
  1434. class NdisFddiShortMulticastList
  1435. {
  1436. [key, read]
  1437. string InstanceName;
  1438. [read]
  1439. boolean Active;
  1440. [read,
  1441. Description("Number of multicast short addresses enabled on the NIC."),
  1442. WmiDataId(1)] uint32 NumberElements;
  1443. [read,
  1444. Description("The multicast short address list on the NIC enabled for packet reception."),
  1445. WmiDataId(2),
  1446. WmiSizeIs("NumberElements")] NetworkShortAddress NdisMulticastList[];
  1447. };
  1448. [WMI, Dynamic, Provider("WMIProv"), guid("{acf1403c-a61c-11d0-8dd4-00c04fc3358c}"),
  1449. locale("MS\\0x409"),
  1450. WmiExpense(1),
  1451. Description("NDIS FDDI Short Maximum List Size")]
  1452. class NdisFddiShortMaximumListSize
  1453. {
  1454. [key, read]
  1455. string InstanceName;
  1456. [read]
  1457. boolean Active;
  1458. [read,
  1459. Description("The maximum number of multicast short addresses the NIC driver can manage."),
  1460. WmiDataId(1)] uint32 NdisFddiShortMaximumListSize;
  1461. };
  1462. [WMI, Dynamic, Provider("WMIProv"), guid("{acf1403d-a61c-11d0-8dd4-00c04fc3358c}"),
  1463. locale("MS\\0x409"),
  1464. WmiExpense(1),
  1465. Description("NDIS FDDI Attachment Type")]
  1466. class NdisFddiAttachmentType
  1467. {
  1468. [key, read]
  1469. string InstanceName;
  1470. [read]
  1471. boolean Active;
  1472. [read,
  1473. Description("Defines the attachment of the NIC to the network."),
  1474. WmiEnum{"1=NdisFddiTypeIsolated",
  1475. "2=NdisFddiTypeLocalA",
  1476. "3=NdisFddiTypeLocalB",
  1477. "4=NdisFddiTypeLocalAB",
  1478. "5=NdisFddiTypeLocalS",
  1479. "6=NdisFddiTypeWrapA",
  1480. "7=NdisFddiTypeWrapB",
  1481. "8=NdisFddiTypeWrapAB",
  1482. "9=NdisFddiTypeWrapS",
  1483. "10=NdisFddiTypeCWrapA",
  1484. "11=NdisFddiTypeCWrapB",
  1485. "12=NdisFddiTypeCWrapS",
  1486. "13=NdisFddiTypeThrough"},
  1487. WmiDataId(1)] uint32 NdisFddiAttachmentType;
  1488. //
  1489. // This can be of the following type:
  1490. //
  1491. // typedef enum _NDIS_FDDI_ATTACHMENT_TYPE
  1492. // {
  1493. // NdisFddiTypeIsolated = 1,
  1494. // NdisFddiTypeLocalA,
  1495. // NdisFddiTypeLocalB,
  1496. // NdisFddiTypeLocalAB,
  1497. // NdisFddiTypeLocalS,
  1498. // NdisFddiTypeWrapA,
  1499. // NdisFddiTypeWrapB,
  1500. // NdisFddiTypeWrapAB,
  1501. // NdisFddiTypeWrapS,
  1502. // NdisFddiTypeCWrapA,
  1503. // NdisFddiTypeCWrapB,
  1504. // NdisFddiTypeCWrapS,
  1505. // NdisFddiTypeThrough
  1506. // } NDIS_FDDI_ATTACHMENT_TYPE, *PNDIS_FDDI_ATTACHMENT_TYPE;
  1507. //
  1508. };
  1509. [WMI, Dynamic, Provider("WMIProv"), guid("{acf1403e-a61c-11d0-8dd4-00c04fc3358c}"),
  1510. locale("MS\\0x409"),
  1511. WmiExpense(1),
  1512. Description("NDIS FDDI Upstream Node Long")]
  1513. class NdisFddiUpstreamNodeLong
  1514. {
  1515. [key, read]
  1516. string InstanceName;
  1517. [read]
  1518. boolean Active;
  1519. [read,
  1520. Description("The long address of the station above this NIC on the ring or zero if the address is unknown."),
  1521. WmiDataId(1)] NetworkAddress NdisFddiUpstreamNodeLong;
  1522. };
  1523. [WMI, Dynamic, Provider("WMIProv"), guid("{acf1403f-a61c-11d0-8dd4-00c04fc3358c}"),
  1524. locale("MS\\0x409"),
  1525. WmiExpense(1),
  1526. Description("NDIS FDDI Downstream Node Long")]
  1527. class NdisFddiDownstreamNodeLong
  1528. {
  1529. [key, read]
  1530. string InstanceName;
  1531. [read]
  1532. boolean Active;
  1533. [read,
  1534. Description("The long address of the station below this NIC on the ring or zero if the address is unknown."),
  1535. WmiDataId(1)] NetworkAddress NdisFddiDownstreamNodeLong;
  1536. };
  1537. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14040-a61c-11d0-8dd4-00c04fc3358c}"),
  1538. locale("MS\\0x409"),
  1539. WmiExpense(1),
  1540. Description("NDIS FDDI Frame Errors")]
  1541. class NdisFddiFrameErrors
  1542. {
  1543. [key, read]
  1544. string InstanceName;
  1545. [read]
  1546. boolean Active;
  1547. [read,
  1548. Description("The number of frames detected in error by this NIC that have not been detected in error by another device on the ring."),
  1549. WmiDataId(1)] uint32 NdisFddiFrameErrors;
  1550. };
  1551. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14041-a61c-11d0-8dd4-00c04fc3358c}"),
  1552. locale("MS\\0x409"),
  1553. WmiExpense(1),
  1554. Description("NDIS FDDI Frames Lost")]
  1555. class NdisFddiFramesLost
  1556. {
  1557. [key, read]
  1558. string InstanceName;
  1559. [read]
  1560. boolean Active;
  1561. [read,
  1562. Description("The number of times this NIC detected a format error during frame reception such that the frame was stripped."),
  1563. WmiDataId(1)] uint32 NdisFddiFramesLost;
  1564. };
  1565. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14042-a61c-11d0-8dd4-00c04fc3358c}"),
  1566. locale("MS\\0x409"),
  1567. WmiExpense(1),
  1568. Description("NDIS FDDI Ring Management State")]
  1569. class NdisFddiRingManagmentState
  1570. {
  1571. [key, read]
  1572. string InstanceName;
  1573. [read]
  1574. boolean Active;
  1575. [read,
  1576. Description("Defines the current state of the Ring Management state machine."),
  1577. WmiEnum{"1=NdisFddiRingIsolated",
  1578. "2=NdisFddiRingNonOperational",
  1579. "3=NdisFddiRingOperational",
  1580. "4=NdisFddiRingDetect",
  1581. "5=NdisFddiRingNonOperationalDup",
  1582. "6=NdisFddiRingOperationalDup",
  1583. "7=NdisFddiRingDirected",
  1584. "8=NdisFddiRingTrac"},
  1585. WmiDataId(1)] uint32 NdisFddiRingManagmentState;
  1586. //
  1587. // This can be of the following type:
  1588. //
  1589. // typedef enum _NDIS_FDDI_RING_MGT_STATE
  1590. // {
  1591. // NdisFddiRingIsolated = 1,
  1592. // NdisFddiRingNonOperational,
  1593. // NdisFddiRingOperational,
  1594. // NdisFddiRingDetect,
  1595. // NdisFddiRingNonOperationalDup,
  1596. // NdisFddiRingOperationalDup,
  1597. // NdisFddiRingDirected,
  1598. // NdisFddiRingTrace
  1599. // } NDIS_FDDI_RING_MGT_STATE, *PNDIS_FDDI_RING_MGT_STATE;
  1600. //
  1601. };
  1602. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14043-a61c-11d0-8dd4-00c04fc3358c}"),
  1603. locale("MS\\0x409"),
  1604. WmiExpense(1),
  1605. Description("NDIS FDDI LCT Failures")]
  1606. class NdisFddiLctFailures
  1607. {
  1608. [key, read]
  1609. string InstanceName;
  1610. [read]
  1611. boolean Active;
  1612. [read,
  1613. Description("The count of the consecutive times the link confidence test (LCT) has failed during connection management."),
  1614. WmiDataId(1)] uint32 NdisFddiLctFailures;
  1615. };
  1616. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14044-a61c-11d0-8dd4-00c04fc3358c}"),
  1617. locale("MS\\0x409"),
  1618. WmiExpense(1),
  1619. Description("NDIS FDDI LEM Rejects")]
  1620. class NdisFddiLemRejects
  1621. {
  1622. [key, read]
  1623. string InstanceName;
  1624. [read]
  1625. boolean Active;
  1626. [read,
  1627. Description("The link error monitor (LEM) count of times that a link was rejected."),
  1628. WmiDataId(1)] uint32 NdisFddiLemRejects;
  1629. };
  1630. [WMI, Dynamic, Provider("WMIProv"), guid("{acf14045-a61c-11d0-8dd4-00c04fc3358c}"),
  1631. locale("MS\\0x409"),
  1632. WmiExpense(1),
  1633. Description("NDIS FDDI LConnect State")]
  1634. class NdisFddiLConnectionState
  1635. {
  1636. [key, read]
  1637. string InstanceName;
  1638. [read]
  1639. boolean Active;
  1640. [read,
  1641. Description("Defines the state of this port's Physical Connection Management (PCM) state machine."),
  1642. WmiEnum{"1=NdisFddiStateOff",
  1643. "2=NdisFddiStateBreak",
  1644. "3=NdisFddiStateTrace",
  1645. "4=NdisFddiStateConnect",
  1646. "5=NdisFddiStateNext",
  1647. "6=NdisFddiStateSignal",
  1648. "7=NdisFddiStateJoin",
  1649. "8=NdisFddiStateVerify",
  1650. "9=NdisFddiStateActive",
  1651. "10=NdisFddiStateMaintenance"},
  1652. WmiDataId(1)] uint32 NdisFddiLConnectionState;
  1653. //
  1654. // This can be of the following type:
  1655. //
  1656. // typedef enum _NDIS_FDDI_LCONNECTION_STATE
  1657. // {
  1658. // NdisFddiStateOff = 1,
  1659. // NdisFddiStateBreak,
  1660. // NdisFddiStateTrace,
  1661. // NdisFddiStateConnect,
  1662. // NdisFddiStateNext,
  1663. // NdisFddiStateSignal,
  1664. // NdisFddiStateJoin,
  1665. // NdisFddiStateVerify,
  1666. // NdisFddiStateActive,
  1667. // NdisFddiStateMaintenance
  1668. // } NDIS_FDDI_LCONNECTION_STATE, *PNDIS_FDDI_LCONNECTION_STATE;
  1669. //
  1670. };
  1671. ///
  1672. ///
  1673. /// NDIS status specific GUIDs
  1674. ///
  1675. ///
  1676. [WMI, Dynamic, Provider("WMIProv"), guid("{981f2d76-b1f3-11d0-8dd7-00c04fc3358c}"),
  1677. locale("MS\\0x409"),
  1678. WmiExpense(1),
  1679. Description("NDIS Status Reset Start")]
  1680. class NdisStatusResetStart : WMIEvent
  1681. {
  1682. [key, read]
  1683. string InstanceName;
  1684. [read]
  1685. boolean Active;
  1686. };
  1687. [WMI, Dynamic, Provider("WMIProv"), guid("{981f2d77-b1f3-11d0-8dd7-00c04fc3358c}"),
  1688. locale("MS\\0x409"),
  1689. WmiExpense(1),
  1690. Description("NDIS Status Reset End")]
  1691. class NdisStatusResetEnd : WMIEvent
  1692. {
  1693. [key, read]
  1694. string InstanceName;
  1695. [read]
  1696. boolean Active;
  1697. };
  1698. [WMI, Dynamic, Provider("WMIProv"), guid("{981f2d7d-b1f3-11d0-8dd7-00c04fc3358c}"),
  1699. locale("MS\\0x409"),
  1700. WmiExpense(1),
  1701. Description("NDIS Status Media Connect")]
  1702. class NdisStatusMediaConnect : WMIEvent
  1703. {
  1704. [key, read]
  1705. string InstanceName;
  1706. [read]
  1707. boolean Active;
  1708. };
  1709. [WMI, Dynamic, Provider("WMIProv"), guid("{981f2d7e-b1f3-11d0-8dd7-00c04fc3358c}"),
  1710. locale("MS\\0x409"),
  1711. WmiExpense(1),
  1712. Description("NDIS Status Media Disconnect")]
  1713. class NdisStatusMediaDisconnect : WMIEvent
  1714. {
  1715. [key, read]
  1716. string InstanceName;
  1717. [read]
  1718. boolean Active;
  1719. };
  1720. [WMI, Dynamic, Provider("WMIProv"), guid("{981f2d84-b1f3-11d0-8dd7-00c04fc3358c}"),
  1721. locale("MS\\0x409"),
  1722. WmiExpense(1),
  1723. Description("NDIS Status Media Specific Indication")]
  1724. class NdisStatusMediaSpecificIndication : WMIEvent
  1725. {
  1726. [key, read]
  1727. string InstanceName;
  1728. [read]
  1729. boolean Active;
  1730. [read,
  1731. Description("Number of bytes for media specific status indication"),
  1732. WmiDataId(1)] uint32 NumberElements;
  1733. [read,
  1734. Description("Media specific status information."),
  1735. WmiDataId(2), WmiSizeIs("NumberElements")] uint8 NdisStatusMediaSpecificIndication[];
  1736. };
  1737. [WMI, Dynamic, Provider("WMIProv"), guid("{981f2d85-b1f3-11d0-8dd7-00c04fc3358c}"),
  1738. locale("MS\\0x409"),
  1739. WmiExpense(1),
  1740. Description("NDIS Status Link Speed Change")]
  1741. class NdisStatusLinkSpeedChange : WMIEvent
  1742. {
  1743. [key, read]
  1744. string InstanceName;
  1745. [read]
  1746. boolean Active;
  1747. [read,
  1748. Description("New inbound and outbound link speeds for the adapter."),
  1749. WmiDataId(1)] NetworkLinkSpeed NdisStatusLinkSpeedChange;
  1750. };