This structure contains information used on an MMIOM_CODEC_OPEN message call to a CODEC. It defines data constraint parameters to a video CODEC and is only used if the CODEC_DATA_CONSTRAINT flag is set in the ulCapsFlags field of the CODECINIFILEINFO structure. The pOtherInfo field of the CODECOPEN structure points to this structure.
typedef struct _MMVIDEOOPEN { ULONG ulStructLen; /* Structure length. */ ULONG ulQuality; /* Video compression quality. */ ULONG ulKeyFrameRate; /* Frame rate. */ ULONG ulScale; /* Time units per frame. */ ULONG ulRate; /* Units per second. */ ULONG ulDataConstraint; /* Maximum data rate. */ ULONG ulConstraintInterval; /* Maximum frame rate. */ } MMVIDEOOPEN; typedef MMVIDEOOPEN * PMMVIDEOOPEN ;