This structure is the video track header and it describes attributes of a video track for an open movie file. It is the standard presentation format for video data and is returned on mmioGetHeader and used on mmioSetHeader when the HMMIO structure refers to an open movie file and the active track for this file is set to a video track.
typedef struct _MMVIDEOHEADER { ULONG ulStructLen; /* Structure length. */ ULONG ulContentType; /* Content type. */ ULONG ulMediaType; /* Video media type. */ ULONG ulVideoCapsFlags; /* Reserved. */ ULONG ulWidth; /* Video width in pels. */ ULONG ulHeight; /* Video height in pels. */ ULONG ulScale; /* Units per sample. */ ULONG ulRate; /* Time units per second. */ ULONG ulStart; /* Video start time. */ ULONG ulLength; /* Length of movie file. */ ULONG ulTotalFrames; /* Number of frames. */ ULONG ulInitialFrames; /* Initial frame for interleaved file. */ MMTIME mmtimePerFrame; /* Frame display time. */ ULONG ulSuggestedBufferSize; /* Suggested buffer size. */ GENPAL genpalVideo; /* Pointer to RGB Palette. */ PMMXDIBHEADER pmmXDIBHeader; /* Pointer to MMXDIBHEADER. */ BOOL fOpenStretch; /* Indicator to CODEC. */ BOOL fUseScreen; /* Indicator of hardware-assist. */ } MMVIDEOHEADER; typedef MMVIDEOHEADER * PMMVIDEOHEADER ;