Skip to content

Latest commit

 

History

History
71 lines (41 loc) · 2.04 KB

wm-cap-dlg-videoformat.md

File metadata and controls

71 lines (41 loc) · 2.04 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
WM_CAP_DLG_VIDEOFORMAT message (Vfw.h)
The WM\_CAP\_DLG\_VIDEOFORMAT message displays a dialog box in which the user can select the video format.
3b44507e-3806-467f-877a-e9992d1337cb
WM_CAP_DLG_VIDEOFORMAT message Windows Multimedia
apiref
WM_CAP_DLG_VIDEOFORMAT
Vfw.h
HeaderDef
reference
05/31/2018

WM_CAP_DLG_VIDEOFORMAT message

The WM_CAP_DLG_VIDEOFORMAT message displays a dialog box in which the user can select the video format. The Video Format dialog box might be used to select image dimensions, bit depth, and hardware compression options. You can send this message explicitly or by using the capDlgVideoFormat macro.

WM_CAP_DLG_VIDEOFORMAT 
wParam = (WPARAM) 0; 
lParam = 0L; 

Return Value

Returns TRUE if successful or FALSE otherwise.

Remarks

After this message returns, applications might need to update the CAPSTATUS structure because the user might have changed the image dimensions.

The Video Format dialog box is unique for each capture driver. Some capture drivers might not support a Video Format dialog box. Applications can determine if the capture driver supports this message by checking the fHasDlgVideoFormat member of CAPDRIVERCAPS.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h

See also

Video Capture

Video Capture Messages