This topic has not yet been rated - Rate this topic

VIDEOHDR structure

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

Vfw.h

See also

Multimedia Timers
Multimedia Timer Structures
capVideoStreamCallback

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ