|
capOverlay
The capOverlay macro enables or disables overlay mode. In overlay mode, video is displayed
using hardware overlay. You can use this macro or explicitly call the WM_CAP_SET_OVERLAY message.
BOOL capOverlay(
Parameters
hwnd
Handle of a capture window.
f
Overlay flag. Specify TRUE for this parameter to enable overlay mode or FALSE
to disable it.
Return Values
Returns TRUE if successful or FALSE otherwise.
Remarks
Using an overlay does not require CPU resources.
The fHasOverlay member of the CAPDRIVERCAPS structure indicates whether the device is capable of overlay. The fOverlayWindow member of the CAPSTATUS structure indicates whether overlay mode is currently enabled.
Enabling overlay mode automatically disables preview mode.
See Also
CAPDRIVERCAPS, CAPSTATUS, WM_CAP_SET_OVERLAY
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|