home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / System32 / wbem / Win32_OsBaseline.mof < prev    next >
Encoding:
Text File  |  2006-09-18  |  3.9 KB  |  111 lines

  1. #pragma autorecover
  2. #pragma namespace ("\\\\.\\root\\CIMV2")
  3.  
  4. class Win32_OsBaselineProvider : __Win32Provider
  5. {
  6.     [Description ( "Hosting Model, provides compatibility with Windows XP and Windows Server 2003. Do not override." ) , Override("HostingModel")]
  7.     string HostingModel = "NetworkServiceHost";
  8.     [Description("..."),Override("SecurityDescriptor")] 
  9.     string SecurityDescriptor; 
  10.     UInt32 version = 1;
  11. };
  12.  
  13. instance of Win32_OsBaselineProvider as $Win32_OsBaseline
  14. {
  15.     Name = "Win32_OsBaseline"; //Name is the key property for __Provider objects.
  16.                                //vendor|provider|version is the suggested format
  17.                                //to prevent name collisions.
  18.  
  19.     ClsId = "{5f4df560-cb34-43a4-b794-2ca51ed9c348}"; //provider GUID
  20.  
  21.     DefaultMachineName = NULL; //NULL for local machine
  22.  
  23.     ClientLoadableCLSID = NULL; //reserved
  24.  
  25.     ImpersonationLevel = 1; //Indicates whether provider impersonates client:
  26.                             //0 = no
  27.                             //1 = yes
  28.  
  29.     InitializationReentrancy = 0; //Set of flags that provide information about serialization:
  30.                                   //0 = all initialization of this provider must be serialized
  31.                                   //1 = all initializations of this provider in the same namespace must be serialized
  32.                                   //2 = no initialization serialization is necessary
  33.  
  34.     InitializeAsAdminFirst = FALSE; //Request to be fully initialized as "Admin" before 
  35.                                     //initializations begin for users
  36.  
  37.     PerLocaleInitialization = FALSE; //Indicates whether the provider is initialized for each 
  38.                                      //locale if a user connects to the same namespace more 
  39.                                      //than once using different locales.
  40.  
  41.     PerUserInitialization = TRUE; //Indicates whether the provider is initialized once for each actual 
  42.                                   //Windows NT/Windows 2000 NTLM user making requests of the provider. 
  43.                                   //If set to FALSE, the provider is initialized once for all users
  44.  
  45.     Pure = TRUE; //A pure provider exists only to service requests from 
  46.                  //applications and WMI. Most providers are pure providers
  47.                  //Non-pure providers transition to the role of client after they have 
  48.                  //finished servicing requests. 
  49.  
  50.     UnloadTimeout = NULL; //Currently ignored
  51.                           //Use __CacheControl class in the root namespace to control provider unloading
  52.                           //A string in the DMTF date/time format that specifies how long WMI 
  53.                           //allows the provider to remain idle before it is unloaded.
  54. };
  55.  
  56. instance of __MethodProviderRegistration
  57. {
  58.     Provider = $Win32_OsBaseline;
  59. };
  60.  
  61. [provider("Win32_OsBaseline")]
  62. class Win32_OsBaseline
  63. {
  64.     [implemented, static]
  65.     uint32
  66.     GetBaselinePath(
  67.         [in] uint32 uServicePack,
  68.         [out] string sBaselinePath
  69.     );
  70.  
  71.     [implemented, static]
  72.     uint32
  73.     EnumBaselineComponents(
  74.         [in] string sBaselinePath,
  75.         [out] string sIdentities[]
  76.     );
  77.  
  78.     [implemented, static]
  79.     uint32
  80.     GetBaselineComponentInfo(
  81.         [in] string sBaselinePath,
  82.         [in] string sIdentity,
  83.         [out] string sDisplayName,
  84.         [out] string sVersion,
  85.         [out] uint32 uType
  86.     );
  87.  
  88.     [implemented, static]
  89.     uint32
  90.     GetInstalledComponentInfo(
  91.         [in] string sIdentity,
  92.         [out] string sDisplayName,
  93.         [out] string sVersion,
  94.         [out] uint32 uType
  95.     );
  96.  
  97.     [implemented, static]
  98.     uint32
  99.     EnumOutOfDateComponents(
  100.         [in] string sBaselinePath,
  101.         [out] string sIdentities[]
  102.     );
  103.  
  104.     [implemented, static]
  105.     uint32
  106.     GetLatestBaselineServicePack(
  107.         [out] uint32 uServicePack
  108.     );
  109. };
  110.  
  111.