Leaked source code of windows server 2003
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.

60 lines
2.8 KiB

  1. #if 0
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. #endif
  4. #define CLASSMOF "instance of __Win32provider as $P{\n\
  5. Name = \"RegPropProv\";\n\
  6. Clsid = \"{72967901-68EC-11d0-B729-00AA0062CBB7}\";\n\
  7. ImpersonationLevel = 1;\n\
  8. PerUserInitialization = TRUE;};\n\
  9. instance of __PropertyProviderRegistration {\n\
  10. Provider = $P;\n\
  11. SupportsGet = TRUE;\n\
  12. SupportsPut = TRUE;};\n\
  13. [DYNPROPS, singleton] class Win32_WMISetting{\n\
  14. [read] string InstallationDirectory;\n\
  15. [read] string BuildVersion;\n\
  16. [read, write] uint32 AutoStartWin9X;\n\
  17. [read, write] boolean EnableAnonWin9xConnections;\n\
  18. [read, write] string MaxLogFileSize;\n\
  19. [read, write] string LoggingLevel;\n\
  20. [read, write] string LoggingDirectory;\n\
  21. [read] string DatabaseDirectory;\n\
  22. [read, write] string BackupInterval;\n\
  23. [read, write] boolean ASPScriptEnabled;\n\
  24. [read, write] string ASPScriptDefaultNamespace = \"\\\\\\\\root\\\\cimv2\";};"
  25. #define INSTMOF "[DYNPROPS]instance of Win32_WMISetting{\n\
  26. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  27. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem|Installation Directory\")] \n\
  28. InstallationDirectory;\n\
  29. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  30. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem|Build\")] \n\
  31. BuildVersion;\n\
  32. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  33. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\cimom|Log File Max Size\")]\n\
  34. MaxLogFileSize;\n\
  35. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  36. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\cimom|Logging\")]\n\
  37. LoggingLevel;\n\
  38. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  39. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\cimom|Logging Directory\")]\n\
  40. LoggingDirectory;\n\
  41. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  42. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\cimom|Repository Directory\")]\n\
  43. DatabaseDirectory;\n\
  44. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  45. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\cimom|Backup Interval Threshold\")]\n\
  46. BackupInterval;\n\
  47. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  48. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\Scripting|Enable for ASP\")]\n\
  49. ASPScriptEnabled;\n\
  50. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  51. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\Scripting|Default Namespace\")]\n\
  52. ASPScriptDefaultNamespace;\n\
  53. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  54. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\cimom|AutostartWin9X\")]\n\
  55. AutoStartWin9X;\n\
  56. [DYNAMIC, Provider(\"RegPropProv\"),\n\
  57. PropertyContext(\"local|hkey_local_Machine\\\\software\\\\microsoft\\\\wbem\\\\cimom|EnableAnonConnections\")]\n\
  58. EnableAnonWin9xConnections;};"