Partager via


IMediaEvent::CancelDefaultHandling (Windows Embedded CE 6.0)

1/6/2010

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

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

IMediaEvent Interface