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.

37 lines
844 B

  1. #pragma namespace("\\\\.\\root")
  2. instance of __Namespace
  3. {
  4. Name = "registryScriptExample";
  5. };
  6. #pragma namespace("//./root/registryScriptExample")
  7. // Instance provider
  8. instance of __Win32Provider as $InstProv
  9. {
  10. Name = "RegProv" ;
  11. ClsId = "{fe9af5c0-d3b6-11ce-a5b6-00aa00680c3f}" ;
  12. };
  13. instance of __InstanceProviderRegistration
  14. {
  15. Provider = "__Win32Provider.Name=\"RegProv\"";
  16. SupportsPut = TRUE;
  17. SupportsGet = TRUE;
  18. SupportsDelete = FALSE;
  19. SupportsEnumeration = TRUE;
  20. };
  21. [
  22. dynamic, provider("RegProv"),
  23. ClassContext("local|hkey_local_machine\\software\\microsoft\\WBEM\\transports\\Network Transport Modules")
  24. ]
  25. class RegTrans
  26. {
  27. [key] string TransportsGUID;
  28. [PropertyContext("Name")] string Name;
  29. [PropertyContext("Independent")] uint32 Enabled;
  30. };