次の方法で共有


IMediaEvent::RestoreDefaultHandling (Compact 2013)

3/26/2014

This method reinstates the normal default handling by a filter graph for the specified event, if there is one.

Syntax

HRESULT RestoreDefaultHandling(
  long lEvCode
);

Parameters

  • lEvCode
    [in] Event to restore.

Return Value

Returns S_OK if successful, or S_FALSE if there is no default handling for this event.

Remarks

Events that have default handling in place, such as EC_REPAINT, are not typically passed to the application.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaEvent Interface