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

// Copyright (c) 1997-2003 Microsoft Corporation, All Rights Reserved
#pragma autorecover
#pragma namespace("\\\\.\\root")
instance of __Namespace
{
Name = "snmp" ;
} ;
#pragma namespace("\\\\.\\root\\snmp")
[AgentAddress ( "localhost" )]
instance of __Namespace
{
Name = "localhost" ;
} ;
#pragma namespace("\\\\.\\root\\snmp\\localhost")
instance of __Win32Provider as $PClass
{
Name = "MS_SNMP_CLASS_PROVIDER";
Clsid = "{70426720-F78F-11cf-9151-00AA00A4086C}";
HostingModel = "NetworkServiceHost";
};
instance of __ClassProviderRegistration
{
Provider = $PClass;
SupportsGet = TRUE;
SupportsPut = FALSE;
SupportsDelete = FALSE;
SupportsEnumeration = TRUE;
QuerySupportLevels = NULL ;
ResultSetQueries = { "Select * From meta_class Where __this isa \"SnmpMacro\"",
"Select * From meta_class Where __this isa \"SnmpNotification\"",
"Select * From meta_class Where __this isa \"SnmpExtendedNotification\""
} ;
} ;
instance of __Win32Provider as $PInst
{
Name = "MS_SNMP_INSTANCE_PROVIDER";
Clsid = "{1F517A23-B29C-11cf-8C8D-00AA00A4086C}";
HostingModel = "NetworkServiceHost";
};
instance of __InstanceProviderRegistration
{
Provider = $PInst;
SupportsGet = TRUE;
SupportsPut = TRUE;
SupportsDelete = TRUE;
SupportsEnumeration = TRUE;
QuerySupportLevels = { "WQL:UnarySelect" } ;
};
instance of __Win32Provider as $EventProv
{
Name = "MS_SNMP_REFERENT_EVENT_PROVIDER";
ClsId = "{9D5BED16-0765-11d1-AB2C-00C04FD9159E}";
HostingModel = "NetworkServiceHost";
};
instance of __EventProviderRegistration
{
Provider = $EventProv;
EventQueryList = {"select * from SnmpExtendedNotification"} ;
};
instance of __Win32Provider as $EncapEventProv
{
Name = "MS_SNMP_ENCAPSULATED_EVENT_PROVIDER";
ClsId = "{19C813AC-FEE7-11D0-AB22-00C04FD9159E}";
HostingModel = "NetworkServiceHost";
};
instance of __EventProviderRegistration
{
Provider = $EncapEventProv;
EventQueryList = {"select * from SnmpNotification"};
};