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

//=================================================================
//
// viewtest.mof -- Sample view provider registration
//
// Copyright (c) 1998-2001 Microsoft Corporation, All Rights Reserved
//
//
//=================================================================
#pragma namespace("\\\\.\\root")
instance of __Namespace
{
Name = "ViewNamespace" ;
} ;
#pragma namespace("\\\\.\\root\\ViewNamespace")
instance of __Win32Provider as $DataProv
{
Name = "MS_VIEW_INSTANCE_PROVIDER";
ClsId = "{AA70DDF4-E11C-11d1-ABB0-00C04FD9159E}";
ImpersonationLevel = 1;
PerUserInitialization = "TRUE";
};
instance of __InstanceProviderRegistration
{
Provider = $DataProv;
SupportsPut = TRUE;
SupportsGet = TRUE;
SupportsDelete = TRUE;
SupportsEnumeration = TRUE;
QuerySupportLevels = {"WQL:UnarySelect"};
};
instance of __MethodProviderRegistration
{
Provider = $DataProv;
};