IWbemDecoupledBasicEventProvider::GetSink method

The IWbemDecoupledBasicEventProvider::GetSink method retrieves an IWbemObjectSink object for event forwarding to WMI. This method provides for fully concurrent access.

Syntax

HRESULT GetSink(
  long            a_Flags,
  IWbemContext    *a_Context,
  IWbemObjectSink **a_Sink
);

Parameters

a_Flags

a_Context

a_Sink

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header wbemprov.h (include Wbemidl.h)
Library Wbemuuid.lib
DLL Wmidcprv.dll