Partager via


IMediaEvent::CancelDefaultHandling (Compact 2013)

3/26/2014

This method cancels any default handling by the filter graph of the specified event and ensures that it is passed to the application.

Syntax

HRESULT CancelDefaultHandling(
  long lEvCode
);

Parameters

  • lEvCode
    [in] Event code for which to cancel default handling.

Return Value

Returns S_OK if successful, or S_FALSE if the event does not have any default handling.

Remarks

Currently the filter graph manager applies default handling only to EC_COMPLETE and EC_REPAINT.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaEvent Interface