Share via


_IMSVidCtlEvents::Error method

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

Parameters

  • Number
    Specifies the error number.

  • pDescription
    Contains a 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 value

This method does not return a value.

Remarks

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

Requirements

Header

Msvidctl.h

IDL

Msvidctl.idl

See also

_IMSVidCtlEvents Interface

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012