Platform SDK: Broadcast Architecture |
The DeviceRelease method causes the Video Access server to attempt to release all devices. Visual Basic syntax is shown.
object.DeviceRelease(lPriority, pps)
Your application should not use the BPCSuspend or BPCSuspended class while it is in a state in which cross-process COM calls are disallowed. For example, if your application is currently processing a call to the Win32 SendMessage function or a broadcast system message any cross-process COM calls fail with an RPC_E_CANTCALLOUT_ININPUTSYNCCALL error code. If your application is in such a state when it attempts to suspend the Video Access server, the running object table can become corrupt and lock up the server.
For more information on suspending the Video Access server and releasing devices, see Suspending the Video Access Server.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in vidsvr.odl.
Import Library: Included as a resource in vid.ocx.