_IMSVidCtlEvents::Error

 
Microsoft DirectShow 9.0

_IMSVidCtlEvents::Error

This topic applies to Windows XP or later.

The Error method is called when an error occurs in the control or the underlying filter graph. Currently no errors are defined for this event.

Syntax

  void Error(
  
  short
  
  Number
  ,
  
  BSTR*
  
  Description
  ,
  
  long
  
  Scode
  ,
  
  BSTR
  
  Source
  ,
  
  BSTR
  
  HelpFile
  ,
  
  long
  
  HelpContext
  ,
  
  boolean*
  
  CancelDisplay
  
  );

Parameters

  Number

Specifies the error number.

  pDescription

Contains a "friendly" description of the error.

  Scode

Specifies the S code for this error.

  Source

Specifies the source of the error.

  HelpFile

Specifies the Help file associated with the error.

  HelpContext

Specifies Help context associated with the error.

  pCancelDisplay

Specifies whether the display should be cancelled.

Return Values

This method does not return a value.

Remarks

The dispatch identifier (dispid) of this method is DISPID_ERROREVENT.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also