VIDEOHDR structure

The VIDEOHDR structure is used by the capVideoStreamCallback function.

Syntax

typedef struct videohdr_tag {
  LPBYTE    lpData;
  DWORD     dwBufferLength;
  DWORD     dwBytesUsed;
  DWORD     dwTimeCaptured;
  DWORD_PTR dwUser;
  DWORD     dwFlags;
  DWORD_PTR dwReserved[4];
} VIDEOHDR, *PVIDEOHDR, *LPVIDEOHDR;

Members

lpData

Pointer to locked data buffer.

dwBufferLength

Length of data buffer.

dwBytesUsed

Bytes actually used.

dwTimeCaptured

Milliseconds from start of stream.

dwUser

User-defined data.

dwFlags

The flags are defined as follows.

Flag Meaning
VHDR_DONE Done bit
VHDR_PREPARED Set if this header has been prepared
VHDR_INQUEUE Reserved for driver
VHDR_KEYFRAME Key Frame

dwReserved

Reserved for driver.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header vfw.h

See Also

Multimedia Timer Structures

Multimedia Timers

capVideoStreamCallback