Skip to content

Latest commit

 

History

History
77 lines (60 loc) · 2.24 KB

nf-vfw-cappreviewscale.md

File metadata and controls

77 lines (60 loc) · 2.24 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vfw.capPreviewScale
capPreviewScale macro (vfw.h)
The capPreviewScale macro enables or disables scaling of the preview video images.
_win32_capPreviewScale
capPreviewScale
capPreviewScale macro [Windows Multimedia]
multimedia.cappreviewscale
vfw/capPreviewScale
multimedia\cappreviewscale.htm
Multimedia
32f432a7-76be-4b75-8863-bc67cdcda781
12/05/2018
_win32_capPreviewScale, capPreviewScale, capPreviewScale macro [Windows Multimedia], multimedia.cappreviewscale, vfw/capPreviewScale
vfw.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
capPreviewScale
vfw/capPreviewScale
c++
APIRef
kbSyntax
HeaderDef
Vfw.h
capPreviewScale

capPreviewScale macro

-description

The capPreviewScale macro enables or disables scaling of the preview video images. If scaling is enabled, the captured video frame is stretched to the dimensions of the capture window. You can use this macro or explicitly call the WM_CAP_SET_SCALE message.

-parameters

-param hwnd

Handle to a capture window.

-param f

Preview scaling flag. Specify TRUE for this parameter to stretch preview frames to the size of the capture window or FALSE to display them at their natural size.

-remarks

Scaling preview images controls the immediate presentation of captured frames within the capture window. It has no effect on the size of the frames saved to file.

Scaling has no effect when using overlay to display video in the frame buffer.

-see-also

Video Capture

Video Capture Macros