This structure is the MID header and it describes attributes of an open MIDI file. It is the standard presentation format for MIDI data and is returned on mmioGetHeader and used on mmioSetHeader when HMMIO refers to an open MIDI file.
typedef struct _MMMIDIHEADER { ULONG ulHeaderLength; /* Header length. */ ULONG ulContentType; /* MIDI content. */ USHORT usMediaType; /* Media type. */ MIDIHEADER midiheader; /* Header. */ } MMMIDIHEADER; typedef MMMIDIHEADER * PMMMIDIHEADER ;