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.

92 lines
2.1 KiB

  1. #pragma autorecover
  2. #pragma namespace("\\\\.\\root")
  3. instance of __Namespace
  4. {
  5. Name = "DmiNodes";
  6. };
  7. #pragma namespace("\\\\.\\root\\DmiNodes")
  8. instance of __NameSpace
  9. {
  10. Name = "local";
  11. };
  12. #pragma namespace("\\\\.\\root\\DmiNodes\\local")
  13. [singleton]
  14. class DmiNode
  15. {
  16. string NetworkAddress;
  17. };
  18. instance of DmiNode
  19. {
  20. NetworkAddress = "local";
  21. };
  22. instance of __Win32Provider As $Provider
  23. {
  24. Name = "WbemDmip" ;
  25. ClsId = "{DE065A70-19B5-11D1-B30C-00609778D668}" ;
  26. };
  27. instance of __InstanceProviderRegistration
  28. {
  29. Provider = $Provider;
  30. SupportsGet = TRUE;
  31. SupportsPut = TRUE;
  32. SupportsDelete = TRUE;
  33. SupportsEnumeration = TRUE;
  34. };
  35. instance of __MethodProviderRegistration
  36. {
  37. Provider = $Provider;
  38. };
  39. instance of __ClassProviderRegistration
  40. {
  41. Provider = $Provider;
  42. SupportsGet = TRUE;
  43. SupportsPut = FALSE;
  44. SupportsDelete = TRUE;
  45. SupportsEnumeration = TRUE;
  46. QuerySupportLevels = NULL ;
  47. ResultSetQueries = {
  48. "Select * From meta_class Where __this isa \"DmiComponent\"" ,
  49. "Select * From meta_class Where __this isa \"DmiGroupRoot\"" ,
  50. "Select * From meta_class Where __this isa \"DmiBindingRoot\"" ,
  51. "Select * From meta_class Where __this isa \"DmiNodeData\"" ,
  52. "Select * From meta_class Where __this isa \"DmiLanguage\"" ,
  53. "Select * From meta_class Where __this isa \"DmiEvent\"" ,
  54. "Select * From meta_class Where __this isa \"DmiAddMethodParams\"" ,
  55. "Select * From meta_class Where __this isa \"DmiGetEnumParams\"" ,
  56. "Select * From meta_class Where __this isa \"DmiLanguageMethodsParams\""
  57. } ;
  58. } ;
  59. instance of __Win32Provider as $EventProv
  60. {
  61. Name = "WbemDmiEventp" ;
  62. ClsId = "{B21FBFA0-1B39-11d1-B317-00609778D668}" ;
  63. };
  64. Instance of __EventProviderRegistration
  65. {
  66. Provider = $EventProv ;
  67. EventQueryList = {
  68. "select * from DmiEvent",
  69. "select * from __InstanceCreationEvent where TargetInstance isa \"DmiComponent\"",
  70. "select * from __InstanceDeletionEvent where TargetInstance isa \"DmiComponent\"",
  71. "select * from __InstanceCreationEvent where TargetInstance isa \"DmiLanguage\"",
  72. "select * from __InstanceDeletionEvent where TargetInstance isa \"DmiLanguage\""
  73. };
  74. };