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.

74 lines
1.9 KiB

  1. [WMI, Dynamic, Provider("WMIProv"), // WMI Class, Class is a WMI provider
  2. guid("{734b44a9-74b6-41e6-bbe7-a1f4ed8cea45}"), // generated using uuidgen
  3. localeid(0x409), // American English
  4. WmiExpense(1), // Average num of CPU cycles
  5. Description("EUID address")] // Description of class
  6. class IP1394_QueryArrayOID
  7. {
  8. [key, read] // Key Uniquely Identifies, WMI Client can read
  9. string InstanceName; // Instance name returned from WMI. Driver cannot touch
  10. [read] // WMI Client can read
  11. boolean Active; // type and Variable. Driver cannot touch
  12. [read,
  13. Description("Query this array to get 4 bytes of MAC address."),
  14. WmiDataId(1) ] uint64 ExampleQueryArray;
  15. };
  16. [WMI, Dynamic, Provider("WMIProv"),
  17. guid("{6a3e8063-767d-4531-962b-f683df1aa3a1}"),
  18. localeid(0x409),
  19. WmiExpense(1),
  20. Description(" UID for a IP1394 NDIS device)")]
  21. class IP1394TopologyOID
  22. {
  23. [key, read]
  24. string InstanceName; // Instance name returned from WMI
  25. [read]
  26. boolean Active;
  27. [read,
  28. Description("Number of array elements."),
  29. WmiDataId(1)] uint32 NumberElements;
  30. [read,
  31. Description("Query this array to get statistics."),
  32. WmiDataId(2),
  33. WmiSizeIs("NumberElements")] uint32 UidArray[];
  34. };
  35. [WMI, Dynamic, Provider("WMIProv"),
  36. guid("{ee2ebfc6-944d-426b-b187-82fac17d7dee}"),
  37. localeid(0x409),
  38. WmiExpense(1),
  39. Description("Statistics for a IP1394 NDIS device)")]
  40. class IP1394StatisticsOID
  41. {
  42. [key, read]
  43. string InstanceName; // Instance name returned from WMI
  44. [read]
  45. boolean Active;
  46. [read,
  47. Description("Number of array elements."),
  48. WmiDataId(1)] uint32 NumberElements;
  49. [read,
  50. Description("Query this array to get statistics."),
  51. WmiDataId(2),
  52. WmiSizeIs("NumberElements")] uint32 StatsArray[];
  53. };