Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

FlagMeaning
VHDR_DONEDone bit
VHDR_PREPAREDSet if this header has been prepared
VHDR_INQUEUEReserved for driver
VHDR_KEYFRAMEKey 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 Timers
Multimedia Timer Structures
capVideoStreamCallback

 

 

Show: