Skip to content

Latest commit

 

History

History
79 lines (60 loc) · 2.62 KB

nf-vfw-capsetcallbackonframe.md

File metadata and controls

79 lines (60 loc) · 2.62 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.capSetCallbackOnFrame
capSetCallbackOnFrame macro (vfw.h)
The capSetCallbackOnFrame macro sets a preview callback function in the application. AVICap calls this procedure when the capture window captures preview frames. You can use this macro or explicitly call the WM_CAP_SET_CALLBACK_FRAME message.
_win32_capSetCallbackOnFrame
capSetCallbackOnFrame
capSetCallbackOnFrame macro [Windows Multimedia]
multimedia.capsetcallbackonframe
vfw/capSetCallbackOnFrame
multimedia\capsetcallbackonframe.htm
Multimedia
7e9e33cb-9213-4111-a1de-700493949f2d
12/05/2018
_win32_capSetCallbackOnFrame, capSetCallbackOnFrame, capSetCallbackOnFrame macro [Windows Multimedia], multimedia.capsetcallbackonframe, vfw/capSetCallbackOnFrame
vfw.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
capSetCallbackOnFrame
vfw/capSetCallbackOnFrame
c++
APIRef
kbSyntax
HeaderDef
Vfw.h
capSetCallbackOnFrame

capSetCallbackOnFrame macro

-description

The capSetCallbackOnFrame macro sets a preview callback function in the application. AVICap calls this procedure when the capture window captures preview frames. You can use this macro or explicitly call the WM_CAP_SET_CALLBACK_FRAME message.

-parameters

-param hwnd

Handle to a capture window.

-param fpProc

Pointer to the preview callback function, of type capVideoStreamCallback. Specify NULL for this parameter to disable a previously installed callback function.

-remarks

The capture window calls the callback function before displaying preview frames. This allows an application to modify the frame if desired. This callback function is not used during streaming video capture.

-see-also

Creating a Frame Callback Function

Video Capture

Video Capture Macros