CAPDRIVERCAPS structure
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.
Syntax
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Video Capture
- Video Capture Structures
- Video Capture
Build date: 10/27/2012