IWbemDecoupledBasicEventProvider::GetSink method (wbemprov.h)
The IWbemDecoupledBasicEventProvider::GetSink method retrieves an IWbemObjectSink object for event forwarding to WMI. This method provides for fully concurrent access.
Syntax
HRESULT GetSink(
[in] long a_Flags,
[in] IWbemContext *a_Context,
[out] IWbemObjectSink **a_Sink
);
Parameters
[in] a_Flags
Reserved for future use.
[in] a_Context
Reserved for future use.
[out] a_Sink
Pointer to an IWbemObjectSink instance used to forward events to WMI.
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 |