Partager via


ISimpleConnectionPoint::GetEventCount

Returns the number of events exposed on this interface.

Syntax

HRESULT GetEventCount(  
   ULONG*  pulCount  
);  

Parameters

pulCount
[out] Number of events exposed on this interface count.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

This method returns the number of events exposed on this interface.

See also

ISimpleConnectionPoint Interface