IWbemProviderInit::Initialize

[This is preliminary documentation and subject to change.]

The IWbemProviderInit::Initialize method …

HRESULT IWbemProviderInit::Initialize(
  [in] LPWSTR pszUser, 
  [in] long lFlags,
  [in] LPWSTR pszNamespace,
  [in] LPWSTR pszLocale,
  [in] IWbemServices *pNamespace,
  [in] IWbemContext *pCtx,
  [in] IWbemProviderInitSink *pInitSink
);
 

Parameters

pszUser
Pointer to the user name, if per-user initialization was requested in the __Win32Provider instance.
lFlags
Reserved. It must be zero.
pszNamespace
The namespace name for which the provider is being initialized.
pszLocale
The locale name for which the provider is being initialized. This is typically a string of the following format, where the hex value is a Microsoft standard LCID value:
"MS\\0x409"
pNamespace
An IWbemServices pointer back into CIMOM. This pointer is capable of servicing any requests made by the provider. The provider should AddRef this pointer if it is going to need to call back into CIMOM during its execution.
PCtx
The context object associated with initialization. If the provider needs to make requests back into CIMOM before completing initialization, it should AddRef this object and return it in any dependent calls it makes using the pNamespacepointer.
PInitSink
The initialization sink exported by CIMOM to the provider. When the provider is partially or fully initialized or fails to initialize, it indicates initialization status using this sink. The provider should AddRef this pointer and use it until it has communicated its final status to CIMOM.

Return Values

Remarks

See Also