Platform SDK: Broadcast Architecture

CBPCSuspend

The CBPCSuspend class contains a single function, IsBPCSuspended. Your application can create an instance of a CBPCSuspend object to request that the Video Access server suspend operation and release all video devices for use by other applications. For more information on this process, see Suspending the Video Access Server Using Bpcsusp.h.

Note  This class is only available to C++ applications. It is declared in the Bpcsusp.h header file. For information on suspending the Video Access server using a language other than C++, see Suspending the Video Access Server.

Remarks

Your application should not use the CBPCSuspend 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 Microsoft® 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.

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::IsBPCSuspended