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

HRESULT RestoreDefaultHandling(
  long lEvCode


  • lEvCode
    [in] Event to restore.

Return Values

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


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


DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IMediaEvent Interface

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.