Microsoft DirectX 9.0

_IMSVidCtlEvents::Error

This topic applies to Windows XP only.

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*  pDescription,
  long  Scode,
  BSTR  Source,
  BSTR  HelpFile,
  long  HelpContext,
  boolean*  pCancelDisplay
);

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.

See Also