共用方式為


_VIDEOINFOHEADER

banner art

The _VIDEOINFOHEADER structure contains information about a video stream and includes a _BITMAPINFOHEADER structure that defines the format of an individual frame.

Syntax

typedef struct _tagVIDEOINFOHEADER{RECT  rcSource;RECT  rcTarget;DWORD  dwBitRate;DWORD  dwBitErrorRate;REFERENCE_TIME  AvgTimePerFrame;BITMAPINFOHEADER  bmiHeader;} _VIDEOINFOHEADER;

Members

rcSource

RECT structure that specifies the source video window.

rcTarget

RECT structure that specifies the destination video window.

dwBitRate

DWORD value that specifies the video stream's approximate data rate, in bits per second.

dwBitErrorRate

DWORD value that specifies the video stream's data error rate, in bit errors per second.

AvgTimePerFrame

REFERENCE_TIME value that specifies the video frame's average display time, in 100-nanosecond units.

bmiHeader

Win32 _BITMAPINFOHEADER structure that contains color and dimension information for the video image bitmap.

Requirements

Header: Defined in wmdm.idl.

Library: mssachlp.lib

See Also