VIDEOHDR structure (vfw.h)
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[4]
Reserved for driver.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | vfw.h |