CAPDRIVERCAPS

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, Video Capture Structures