This structure is the video CODEC header and it describes the data format of either the source video or the destination video. It is used on the MMIOM_CODEC_OPEN message.
typedef struct _CODECVIDEOHEADER { ULONG ulStructLen; /* Structure length. */ ULONG cx; /* Width of bitmap. */ ULONG cy; /* Height of bitmap. */ USHORT cPlanes; /* Number of planes. */ USHORT cBitCount; /* Bits per pel. */ ULONG ulColorEncoding; /* Color encoding. */ GENPAL genpal; /* Generic palette. */ } CODECVIDEOHEADER; typedef CODECVIDEOHEADER * PCODECVIDEOHEADER ;