Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
max
min
Expand Minimize

capSetCallbackOnStatus macro

The capSetCallbackOnStatus macro sets a status callback function in the application. AVICap calls this procedure whenever the capture window status changes. You can use this macro or explicitly call the WM_CAP_SET_CALLBACK_STATUS message.

Syntax


BOOL capSetCallbackOnStatus(
    hwnd,
    fpProc
);

Parameters

hwnd

Handle to a capture window.

fpProc

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

Return value

Returns TRUE if successful or FALSE if streaming capture or a single-frame capture session is in progress.

Remarks

Applications can optionally set a status callback function. If set, AVICap calls this procedure in the following situations:

  • A capture session is completed.
  • A capture driver successfully connected to a capture window.
  • An optimal palette is created.
  • The number of captured frames is reported.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

Creating a Status Callback Function
Video Capture
Video Capture Macros

 

 

Community Additions

ADD
Show:
© 2015 Microsoft