Platform SDK: Broadcast Architecture

BPCVid.Priority

The Priority property sets or returns a value that defines the priority of an instance of the Video control within the Broadcast Architecture system. Visual Basic syntax is shown.

object.Priority [ = lPriority]

Parts

object
Object expression that resolves to a BPCVid object.
lPriority
Long that specifies the priority of the control instance.

Remarks

Use this property to surrender or require control of a resource. To relinquish any claim to a resource, your application should set the BPCVid.Input or BPCVid.Output property to Nothing.

Priority is used to resolve device conflicts. When two control instances are in contention for a device, control is given to the instance with higher priority. If both instances have equal priority, the instance that currently has control of the device retains control.

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, BPCVid.GotControl, BPCVid.Input, BPCVid.LostControl, BPCVid.Output