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.

53 lines
1.2 KiB

  1. // **************************************************************************
  2. // Copyright (c) 1997-1999 Microsoft Corporation
  3. //
  4. // File: AppNameProv.mof
  5. //
  6. // Description:
  7. // Creates the ComPlusAppName class and associated registration entries
  8. //
  9. // History:
  10. //
  11. // **************************************************************************
  12. #pragma autorecover
  13. #pragma namespace("\\root\\cimv2")
  14. instance of __Namespace
  15. {
  16. Name = "MicrosoftHealthMonitor" ;
  17. } ;
  18. #pragma namespace("\\root\\cimv2\\MicrosoftHealthMonitor")
  19. instance of __Win32Provider as $P
  20. {
  21. Name = "MicrosoftComPlus_AppName" ;
  22. ClsId = "{A466145D-A145-4228-8F89-6EA7D047C1D0}" ;
  23. } ;
  24. instance of __InstanceProviderRegistration
  25. {
  26. Provider = $P;
  27. SupportsPut = FALSE;
  28. SupportsGet = TRUE;
  29. SupportsDelete = FALSE;
  30. SupportsEnumeration = TRUE;
  31. };
  32. /////////////////////////////////////////////////////////////////////
  33. //
  34. // Declare a class whose dynamic instances are provided by the
  35. // sample provider.
  36. [dynamic, provider("MicrosoftComPlus_AppName"), Description("This class enumerates all the COM+ Apps on the system")]
  37. class MicrosoftComPlus_AppName
  38. {
  39. [key,Description("Name of the COM+ App")]
  40. String AppName;
  41. };