CBaseFilter::NotifyEvent
A version of this page is also available for
4/8/2010
Sends an event notification to the filter graph.
Syntax
HRESULT NotifyEvent(
long EventCode,
long EventParam1,
long EventParam2
);
Parameters
- EventCode
Identifier of the event.
- EventParam1
First parameter of the event.
- EventParam2
Second parameter of the event.
Return Value
Returns S_OK if delivered, S_FALSE if the filter graph does not sink events, or an error otherwise.
Remarks
For a list of notification codes and event parameter values, see Event Notification Codes.
Requirements
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |