Partager via


CBaseFilter::NotifyEvent (Compact 2013)

3/26/2014

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseFilter Class