home *** CD-ROM | disk | FTP | other *** search
- #pragma autorecover
- #pragma namespace ("\\\\.\\root\\CIMV2")
-
- class Win32_OsBaselineProvider : __Win32Provider
- {
- [Description ( "Hosting Model, provides compatibility with Windows XP and Windows Server 2003. Do not override." ) , Override("HostingModel")]
- string HostingModel = "NetworkServiceHost";
- [Description("..."),Override("SecurityDescriptor")]
- string SecurityDescriptor;
- UInt32 version = 1;
- };
-
- instance of Win32_OsBaselineProvider as $Win32_OsBaseline
- {
- Name = "Win32_OsBaseline"; //Name is the key property for __Provider objects.
- //vendor|provider|version is the suggested format
- //to prevent name collisions.
-
- ClsId = "{5f4df560-cb34-43a4-b794-2ca51ed9c348}"; //provider GUID
-
- DefaultMachineName = NULL; //NULL for local machine
-
- ClientLoadableCLSID = NULL; //reserved
-
- ImpersonationLevel = 1; //Indicates whether provider impersonates client:
- //0 = no
- //1 = yes
-
- InitializationReentrancy = 0; //Set of flags that provide information about serialization:
- //0 = all initialization of this provider must be serialized
- //1 = all initializations of this provider in the same namespace must be serialized
- //2 = no initialization serialization is necessary
-
- InitializeAsAdminFirst = FALSE; //Request to be fully initialized as "Admin" before
- //initializations begin for users
-
- PerLocaleInitialization = FALSE; //Indicates whether the provider is initialized for each
- //locale if a user connects to the same namespace more
- //than once using different locales.
-
- PerUserInitialization = TRUE; //Indicates whether the provider is initialized once for each actual
- //Windows NT/Windows 2000 NTLM user making requests of the provider.
- //If set to FALSE, the provider is initialized once for all users
-
- Pure = TRUE; //A pure provider exists only to service requests from
- //applications and WMI. Most providers are pure providers
- //Non-pure providers transition to the role of client after they have
- //finished servicing requests.
-
- UnloadTimeout = NULL; //Currently ignored
- //Use __CacheControl class in the root namespace to control provider unloading
- //A string in the DMTF date/time format that specifies how long WMI
- //allows the provider to remain idle before it is unloaded.
- };
-
- instance of __MethodProviderRegistration
- {
- Provider = $Win32_OsBaseline;
- };
-
- [provider("Win32_OsBaseline")]
- class Win32_OsBaseline
- {
- [implemented, static]
- uint32
- GetBaselinePath(
- [in] uint32 uServicePack,
- [out] string sBaselinePath
- );
-
- [implemented, static]
- uint32
- EnumBaselineComponents(
- [in] string sBaselinePath,
- [out] string sIdentities[]
- );
-
- [implemented, static]
- uint32
- GetBaselineComponentInfo(
- [in] string sBaselinePath,
- [in] string sIdentity,
- [out] string sDisplayName,
- [out] string sVersion,
- [out] uint32 uType
- );
-
- [implemented, static]
- uint32
- GetInstalledComponentInfo(
- [in] string sIdentity,
- [out] string sDisplayName,
- [out] string sVersion,
- [out] uint32 uType
- );
-
- [implemented, static]
- uint32
- EnumOutOfDateComponents(
- [in] string sBaselinePath,
- [out] string sIdentities[]
- );
-
- [implemented, static]
- uint32
- GetLatestBaselineServicePack(
- [out] uint32 uServicePack
- );
- };
-
-