BPCVid.Priority

[This is preliminary documentation and subject to change.]

The Priority property sets or returns a value that defines the priority of an instance of the Video control in the system.

Syntax

object.Priority [ = lPriority]
 

Parts

object
Object expression that resolves to a BPCVid object.
lPriority
A Long that specifies the priority of the device.

Remarks

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

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

This property is not stored locally in the BPCVid object; instead, it is passed to the restricted property in the corresponding BPCDevices object. You set this property, however, using BPCVid. This ensures that the Video control is properly updated.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.
  Unicode: Yes.

See Also

BPCVid.GotControl, BPCVid.LostControl