CAPINFOCHUNK structure (vfw.h)

The CAPINFOCHUNK structure contains parameters that can be used to define an information chunk within an AVI capture file. The WM_CAP_FILE_SET_INFOCHUNK message or capSetInfoChunk macro is used to send a CAPINFOCHUNK structure to a capture window.

Syntax

typedef struct tagCapInfoChunk {
  FOURCC fccInfoID;
  LPVOID lpData;
  LONG   cbData;
} CAPINFOCHUNK, *PCAPINFOCHUNK, *LPCAPINFOCHUNK;

Members

fccInfoID

Four-character code that identifies the representation of the chunk data. If this value is NULL and lpData is NULL, all accumulated information chunks are deleted.

lpData

Pointer to the data. If this value is NULL, all fccInfoID information chunks are deleted.

cbData

Size, in bytes, of the data pointed to by lpData. If lpData specifies a null-terminated string, use the string length incremented by one to save the NULL with the string.

Requirements

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

See also

Video Capture

Video Capture Structures

WM_CAP_FILE_SET_INFOCHUNK