Platform SDK: Broadcast Architecture

BPCVid.Power Property

The Power property sets or returns a value that indicates whether a device in the computer has power on or not. Visual Basic syntax is shown.

object.Power [ = bState ]

Parts

object
Object expression that resolves to a BPCVid or BPCDeviceBase object.
bState
Boolean that is True if the device is on and False if it is off.

Remarks

Power is not stored locally in the BPCVid object. Instead, it is passed to the corresponding property in the BPCDeviceBase object for the current input device. Your application should turn power on or off using BPCVid.Power instead of the BPCDeviceBase.Power property. Otherwise, the Video control is not updated, and future behavior is undefined.

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

BPCDeviceBase, BPCVid, BPCVid.StateChange