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.

88 lines
2.0 KiB

  1. // Copyright (c) 1997-2003 Microsoft Corporation, All Rights Reserved
  2. #pragma autorecover
  3. #pragma namespace("\\\\.\\root")
  4. instance of __Namespace
  5. {
  6. Name = "snmp" ;
  7. } ;
  8. #pragma namespace("\\\\.\\root\\snmp")
  9. [AgentAddress ( "localhost" )]
  10. instance of __Namespace
  11. {
  12. Name = "localhost" ;
  13. } ;
  14. #pragma namespace("\\\\.\\root\\snmp\\localhost")
  15. instance of __Win32Provider as $PClass
  16. {
  17. Name = "MS_SNMP_CLASS_PROVIDER";
  18. Clsid = "{70426720-F78F-11cf-9151-00AA00A4086C}";
  19. HostingModel = "NetworkServiceHost";
  20. };
  21. instance of __ClassProviderRegistration
  22. {
  23. Provider = $PClass;
  24. SupportsGet = TRUE;
  25. SupportsPut = FALSE;
  26. SupportsDelete = FALSE;
  27. SupportsEnumeration = TRUE;
  28. QuerySupportLevels = NULL ;
  29. ResultSetQueries = { "Select * From meta_class Where __this isa \"SnmpMacro\"",
  30. "Select * From meta_class Where __this isa \"SnmpNotification\"",
  31. "Select * From meta_class Where __this isa \"SnmpExtendedNotification\""
  32. } ;
  33. } ;
  34. instance of __Win32Provider as $PInst
  35. {
  36. Name = "MS_SNMP_INSTANCE_PROVIDER";
  37. Clsid = "{1F517A23-B29C-11cf-8C8D-00AA00A4086C}";
  38. HostingModel = "NetworkServiceHost";
  39. };
  40. instance of __InstanceProviderRegistration
  41. {
  42. Provider = $PInst;
  43. SupportsGet = TRUE;
  44. SupportsPut = TRUE;
  45. SupportsDelete = TRUE;
  46. SupportsEnumeration = TRUE;
  47. QuerySupportLevels = { "WQL:UnarySelect" } ;
  48. };
  49. instance of __Win32Provider as $EventProv
  50. {
  51. Name = "MS_SNMP_REFERENT_EVENT_PROVIDER";
  52. ClsId = "{9D5BED16-0765-11d1-AB2C-00C04FD9159E}";
  53. HostingModel = "NetworkServiceHost";
  54. };
  55. instance of __EventProviderRegistration
  56. {
  57. Provider = $EventProv;
  58. EventQueryList = {"select * from SnmpExtendedNotification"} ;
  59. };
  60. instance of __Win32Provider as $EncapEventProv
  61. {
  62. Name = "MS_SNMP_ENCAPSULATED_EVENT_PROVIDER";
  63. ClsId = "{19C813AC-FEE7-11D0-AB22-00C04FD9159E}";
  64. HostingModel = "NetworkServiceHost";
  65. };
  66. instance of __EventProviderRegistration
  67. {
  68. Provider = $EncapEventProv;
  69. EventQueryList = {"select * from SnmpNotification"};
  70. };