共用方式為


IMediaEventSink::Notify

 
Microsoft DirectShow 9.0

IMediaEventSink::Notify

The Notify method notifies the Filter Graph Manager of an event.

Syntax

  HRESULT Notify(
  long EventCode,
  LONG_PTR EventParam1,
  LONG_PTR EventParam2
);

Parameters

EventCode

[in] Identifier of the event.

EventParam1

[in] First event parameter.

EventParam2

[in] Second event parameter.

Return Values

Returns an HRESULT value.

Remarks

The event is queued but not delivered to the application on this thread. For a list of notification codes and event parameter values, see Event Notification Codes.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also