Platform SDK: Broadcast Architecture

BPCVid.Error

The Error event occurs when an asynchronous error occurs in the Video control or the control's input or output device. The current version of Broadcast Architecture does not send this event. Visual Basic syntax is shown.

Private Sub object_Error(Number As Integer, _
  ByVal Description As String, ByVal SCode As Long, _
  ByVal Source As String, HelpFile As String, _
  HelpContext As Long, CancelDisplay As Boolean)

Parts

object
Object expression that resolves to a BPCVid object.
Number
Integer that contains the low WORD of the SCode parameter.
Description
String describing the error that occurred.
SCode
Long that specifies the error code.
Source
String containing the control's name.
HelpFile
String containing the name of the Help file that describes the error.
HelpContext
Long that identifies the Help context.
CancelDisplay
Value that a broadcast client can set to cancel the default error message.

Remarks

Broadcast Architecture does not currently generate asynchronous errors.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.

See Also

BPCVid