IWbemEventSink::IsActive method

The IWbemEventSink::IsActive method is used by the provider to determine if there is interest in the events that the sink is filtering. In the case of a restricted sink, these events are defined by the queries passed to GetRestrictedSink. In the case where it is not a restricted sink, these events are defined by the queries in the event provider's registration. In the latter, the sink is always active.

Syntax

HRESULT IsActive(

);

Parameters

This method has no parameters.

Return Value

This method returns an HRESULT indicating the status of the method call. The following list lists the value contained withinan HRESULT.

Requirements

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