Skip to content

Latest commit

 

History

History
92 lines (66 loc) · 3.16 KB

nc-vfw-caperrorcallbackw.md

File metadata and controls

92 lines (66 loc) · 3.16 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
NC:vfw.CAPERRORCALLBACKW
CAPERRORCALLBACKW (vfw.h)
The capErrorCallback function is the error callback function used with video capture. The name capErrorCallback is a placeholder for the application-supplied function name. (Unicode)
CAPERRORCALLBACKA
CAPERRORCALLBACKW
_win32_capErrorCallback
capErrorCallback
capErrorCallback callback
capErrorCallback callback function [Windows Multimedia]
multimedia.caperrorcallback
vfw/CAPERRORCALLBACKA
vfw/CAPERRORCALLBACKW
vfw/capErrorCallback
multimedia\caperrorcallback.htm
Multimedia
3dc41a0e-1fed-423d-b05b-c42f361a3fb3
12/05/2018
CAPERRORCALLBACKA, CAPERRORCALLBACKW, _win32_capErrorCallback, capErrorCallback, capErrorCallback callback, capErrorCallback callback function [Windows Multimedia], multimedia.caperrorcallback, vfw/CAPERRORCALLBACKA, vfw/CAPERRORCALLBACKW, vfw/capErrorCallback
vfw.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
CAPERRORCALLBACKW (Unicode) and CAPERRORCALLBACKA (ANSI)
Windows
19H1
CAPERRORCALLBACKW
vfw/CAPERRORCALLBACKW
c++
APIRef
kbSyntax
UserDefined
Vfw.h
capErrorCallback
CAPERRORCALLBACKA
CAPERRORCALLBACKW

CAPERRORCALLBACKW callback function

-description

The capErrorCallback function is the error callback function used with video capture. The name capErrorCallback is a placeholder for the application-supplied function name.

To set the callback, send the WM_CAP_SET_CALLBACK_ERROR message to the capture window or call the capSetCallbackOnError macro.

-parameters

-param hWnd

Handle to the capture window associated with the callback function.

-param nID

Error identification number.

-param lpsz

Pointer to a textual description of the returned error.

-remarks

A message identifier of zero indicates a new operation is starting and the callback function should clear the current error.

Note

The vfw.h header defines CAPERRORCALLBACK as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

-see-also

Video Capture

Video Capture Functions