CBaseFilter::NotifyEvent

Sends an event notification to the filter graph.

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 Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 3.0 and later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.