CAPDRIVERCAPS视频捕捉类

CAPDRIVERCAPS结构定义了捕获驱动程序的功能。应用程序通过使用WM_CAP_DRIVER_GET_CAPS消息或capDriverGetCaps宏来获取捕获驱动程序的能力,并将其复制到CAPDRIVERCAPS结构中。该结构包括设备索引、视频覆盖标志、对话框支持等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The CAPDRIVERCAPS structure defines the capabilities of the capture driver.

An application should use the WM_CAP_DRIVER_GET_CAPS message or capDriverGetCaps macro to place a copy of the driver capabilities in a CAPDRIVERCAPS structure whenever the application connects a capture window to a capture driver.

typedef struct {
    UINT   wDeviceIndex;
    BOOL   fHasOverlay;
    BOOL   fHasDlgVideoSource;
    BOOL   fHasDlgVideoFormat;
    BOOL   fHasDlgVideoDisplay;
    BOOL   fCaptureInitialized;
    BOOL   fDriverSuppliesPalettes;
    HANDLE hVideoIn;
    HANDLE hVideoOut;
    HANDLE hVideoExtIn;
    HANDLE hVideoExtOut;
} CAPDRIVERCAPS;
 
Members
wDeviceIndex
Index of the capture driver. An index value can range from 0 to 9.
fHasOverlay
Video-overlay flag. The value of this member is TRUE if the device supports video overlay.
fHasDlgVideoSource
Video source dialog flag. The value of this member is TRUE if the device supports a dialog box for selecting and controlling the video source.
fHasDlgVideoFormat
Video format dialog flag. The value of this member is TRUE if the device supports a dialog box for selecting the video format.
fHasDlgVideoDisplay
Video display dialog flag. The value of this member is TRUE if the device supports a dialog box for controlling the redisplay of video from the capture frame buffer.
fCaptureInitialized
Capture initialization flag. The value of this member is TRUE if a capture device has been successfully connected.
fDriverSuppliesPalettes
Driver palette flag. The value of this member is TRUE if the driver can create palettes.
hVideoIn
Not used in Win32 applications.
hVideoOut
Not used in Win32 applications.
hVideoExtIn
Not used in Win32 applications.
hVideoExtOut
Not used in Win32 applications.
Requirements
  Windows NT/2000/XP: Included in Windows NT 3.1 and later.
  Windows 95/98/Me: Included in Windows 95 and later.
  Header: Declared in Vfw.h.

See Also
Video Capture Overview, Video Capture Structures

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值