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.

44 lines
888 B

  1. //=================================================================
  2. //
  3. // viewtest.mof -- Sample view provider registration
  4. //
  5. // Copyright (c) 1998-2001 Microsoft Corporation, All Rights Reserved
  6. //
  7. //
  8. //=================================================================
  9. #pragma namespace("\\\\.\\root")
  10. instance of __Namespace
  11. {
  12. Name = "ViewNamespace" ;
  13. } ;
  14. #pragma namespace("\\\\.\\root\\ViewNamespace")
  15. instance of __Win32Provider as $DataProv
  16. {
  17. Name = "MS_VIEW_INSTANCE_PROVIDER";
  18. ClsId = "{AA70DDF4-E11C-11d1-ABB0-00C04FD9159E}";
  19. ImpersonationLevel = 1;
  20. PerUserInitialization = "TRUE";
  21. };
  22. instance of __InstanceProviderRegistration
  23. {
  24. Provider = $DataProv;
  25. SupportsPut = TRUE;
  26. SupportsGet = TRUE;
  27. SupportsDelete = TRUE;
  28. SupportsEnumeration = TRUE;
  29. QuerySupportLevels = {"WQL:UnarySelect"};
  30. };
  31. instance of __MethodProviderRegistration
  32. {
  33. Provider = $DataProv;
  34. };