Jump to content

MMMIDIHEADER

From EDM2

This structure is the MIDI 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 ;
Fields
  • **ulHeaderLength**: The length of the structure in bytes.
  • **ulContentType**: The specific type of MIDI content.
  • **usMediaType**: The media type (e.g., MIDI).
  • **midiheader**: An embedded MIDIHEADER structure containing specific file format details such as number of tracks and time division.