BPCSuspend.DeviceRelease

[This is preliminary documentation and subject to change.]

The DeviceRelease method causes the video server to attempt to release all devices.

Syntax

object.DeviceRelease(lPriority, pps)
 

Parameters

object
Object expression that resolves to a BPCSuspend object.
lPriority
Reserved. This value should be set to 0.
pps
Reference to a BPCSuspended object. If the video server successfully releases all video devices, this will contain a valid BPCSuspended object. Otherwise, this object contains Nothing.

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

BPCSuspended, Suspending the Video Server

Examples

The following example uses DeviceRelease to request that the video server release all devices.

Dim susp As BPCSuspend
Set susp = New BPCSuspend
Dim suspended As BPCSuspended
 
'Attempt to suspend the video server
susp.DeviceRelease 0, suspended