Contains members used to initialize a video stream for video capture.
typedef struct { DWORD dwMicroSecPerFrame; //see below DWORD dwCallback; //see below DWORD dwCallbackInst; //see below DWORD dwFlags; //see below DWORD hVideo; //handle to the video channel } VIDEO_STREAM_INIT_PARMS;
dwMicroSecPerFrame
Number of microseconds between the start of one frame capture and the start of the next.
dwCallback
Address of a callback function or a handle to a window called during video recording. The callback function or window processes messages related to the progress of recording. This parameter is optional.
dwCallbackInst
User instance data passed to the callback function. This parameter is not used with window callbacks.
dwFlags
Flags for the data capture. The following flags are defined:
VIDEO_ALLOWSYNC | If this flag is not specified, the device will fail to open if it is a synchronous device. |
CALLBACK_WINDOW | Indicates dwCallback contains a window handle. |
CALLBACK_FUNCTION | Indicates dwCallback contains a callback function address. |