VIDEO_STREAM_INIT_PARMS

typedef struct {

DWORD dwMicroSecPerFrame;

DWORD dwCallback;

DWORD dwCallbackInst;

DWORD dwFlags;

DWORD hVideo;

} VIDEO_STREAM_INIT_PARMS;

The VIDEO_STREAM_INIT_PARMS structure contains information needed to initialize a video capture stream. User-mode video-capture drivers receive this structure along with a DVM_STREAM_INIT message. The structure is defined in msviddrv.h.

Members

dwMicroSecPerFrame

Contains the client-specified capture frequency, in microseconds. Represents how often the driver should capture a frame.

dwCallback

Contains either the address of a callback function, a window handle, or NULL, based on flags set in the dwFlags member.

dwCallbackInst

Contains client-specified instance data passed to the callback function, if CALLBACK_FUNCTION is set in dwFlags.

dwFlags

Contains flags. Can contain one (or none) of the following flags.

Flag Definition
CALLBACK_WINDOW Indicates dwCallback contains a window handle.
CALLBACK_FUNCTION Indicates dwCallback contains a callback function address.

hVideo

Contains a handle to a video channel.

Comments

The dwCallback, dwCallbackInst, and dwFlags members contain information needed by the driver to deliver callback messages. For more information, see Notifying Clients from Video Capture Drivers.


Send feedback to MSDN.Look here for MSDN Online resources.