IWbemDecoupledRegistrar::Register method (wbemprov.h)
The IWbemDecoupledRegistrar::Register method registers an object interface with WMI.
Syntax
HRESULT Register(
[in] long a_Flags,
[in] IWbemContext *a_Context,
[in] LPCWSTR a_User,
[in] LPCWSTR a_Locale,
[in] LPCWSTR a_Scope,
[in] LPCWSTR a_Registration,
[in] IUnknown *pIUnknown
);
Parameters
[in] a_Flags
Reserved for future use.
[in] a_Context
Reserved for future use.
[in] a_User
String identifying the user for this registration.
[in] a_Locale
String identifying the locale for this registration.
[in] a_Scope
Object path representing the binding to a WMI provider registration object in a specified namespace. The scope object path can be NULL, indicating that the provider will support all namespaces.
[in] a_Registration
Name of the provider being registered.
[in] pIUnknown
Pointer to an object for particular registration. This interface will be queried to determine the interface support that the object is capable of servicing.
Return value
This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wbemprov.h (include Wbemidl.h) |
Library | Wbemuuid.lib |
DLL | Wmidcprv.dll |