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

VIDEOHDR

The VIDEOHDR structure is used by the capVideoStreamCallback function.

typedef struct videohdr_tag {
    LPBYTE      lpData; 
    DWORD       dwBufferLength; 
    DWORD       dwBytesUsed; 
    DWORD       dwTimeCaptured; 
    DWORD       dwUser; 
    DWORD       dwFlags; 
    DWORD_PTR   dwReserved[4]; 
} VIDEOHDR, NEAR *PVIDEOHDR, FAR * 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

  Windows NT/2000/XP: Included in Windows NT 3.1 and later.
  Windows 95/98/Me: Included in Windows 95 and later.
  Header: Declared in Vfw.h.

See Also

Multimedia Timers, Multimedia Timer Structures, capVideoStreamCallback

Show:
© 2015 Microsoft