Platform SDK: Broadcast Architecture |
The GotControl event notifies an instance of the Video control that the instance has control of a device. Visual Basic syntax is shown.
Private Sub object_GotControl
The GotControl event occurs if the control instance requests a device that is not currently being used by an application with higher priority. If two devices have the same priority, the current control retains the device.
Your application must wait until it receives a GotControl event before it uses a device. Otherwise, applications currently using the device do not release the device, and unexpected behavior can occur.
For more information on application priorities, see Device Contention.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in vidsvr.odl.
Import Library: Included as a resource in vid.ocx.