Platform SDK: Broadcast Architecture

CBPCSuspend::IsBPCSuspended

The IsBPCSuspended function returns a value indicating whether the Video Access server was successfully suspended. C++ syntax is shown.

bool IsBPCSuspended(void);

Parameters

None.

Return Values

If the Video Access server is suspended and has released all video devices, this method returns TRUE. Your application can then use the video devices. If this method returns FALSE, the server is not suspended and there are active video clients. Your application should handle this case as it does a failure indicating a busy or open device.

Remarks

Your application should call this function after it creates a CBPCSuspend object. Your application calls this function to check that the Video Access server was successfully suspended before it uses any video devices. For more information, see Suspending the Video Access Server Using Bpcsusp.h.

This function can only be called by C++ applications.

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

CBPCSuspend