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.

105 lines
2.8 KiB

  1. //***************************************************************************
  2. //
  3. // PROV.MOF
  4. //
  5. // Standard MOF for provider registration objects.
  6. //
  7. //***************************************************************************
  8. [abstract]
  9. class __Provider : __SystemClass
  10. {
  11. [key] string Name;
  12. };
  13. class __Win32Provider : __Provider
  14. {
  15. string CLSID;
  16. string ClientLoadableCLSID;
  17. boolean PerUserInitialization = FALSE;
  18. boolean InitializeAsAdminFirst = FALSE;
  19. [values("ProtectedCLSID", "ProtectedNamespace", "ProtectedComInstance")]
  20. uint32 InitializationReentrancy = 0;
  21. // CLSID is never to be reenterd during initialization.
  22. // Any particular instance of the CLSID is not reentered during initialization,
  23. // but new instances may be initialized before others have completed.
  24. // The provider may be fully reentered during initialization for other
  25. // initializations.
  26. sint32 ImpersonationLevel = 0; // 0=none, values to be defined in v1.1
  27. string DefaultMachineName;
  28. boolean Pure = TRUE;
  29. // If TRUE, Provider never becomes a standalone client and is expected
  30. // to release all connections to CIMOM when its own Release() is called.
  31. datetime UnloadTimeout;
  32. };
  33. [abstract]
  34. class __ProviderRegistration : __SystemClass
  35. {
  36. __Provider ref Provider;
  37. };
  38. [abstract]
  39. class __Win32ObjectProviderRegistration : __ProviderRegistration
  40. {
  41. [values("Pull", "Push", "PushVerify")] sint32 InteractionType = 0;
  42. boolean SupportsPut;
  43. boolean SupportsGet;
  44. boolean SupportsDelete;
  45. boolean SupportsEnumeration;
  46. string QuerySupportLevels[];
  47. };
  48. class __Win32ClassProviderRegistration : __Win32ObjectProviderRegistration
  49. {
  50. [key] __Provider ref Provider; // redeclaration to make a key
  51. string ResultSetQueries[];
  52. string ReferencedSetQueries[];
  53. string UnsupporedQueries[];
  54. };
  55. class __Win32InstanceProviderRegistration : __Win32ObjectProviderRegistration
  56. {
  57. [key] __Provider ref Provider; // redeclaration to make a key
  58. };
  59. class __Win32MethodProviderRegistration : __ProviderRegistration
  60. {
  61. [key] __Provider ref Provider; // redeclaration to make a key
  62. };
  63. class __Win32PropertyProviderRegistration : __ProviderRegistration
  64. {
  65. [key] __Provider ref Provider; // redeclaration to make a key
  66. boolean SupportsPut;
  67. boolean SupportsGet;
  68. };
  69. class __Win32EventConsumerProviderRegistration : __ProviderRegistration
  70. {
  71. [key] __Provider ref Provider; // redeclaration to make a key
  72. string ConsumerClassNames[];
  73. };
  74. class __Win32EventProviderRegistration : __ProviderRegistration
  75. {
  76. [key] __Provider ref Provider; // redeclaration to make a key
  77. string EventQueryList[];
  78. };