登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

面包会有的

... ...

 
 
 

日志

 
 

CAPDRIVERCAPS视频捕捉类  

2009-06-05 01:08:52|  分类: VC++ |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

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

  评论这张
 
阅读(1540)| 评论(0)

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018