This structure contains fields for the MIDISendMessages function.
typedef struct { ULONG ulSourceInstance; /* Source instance. */ ULONG ulTime; /* Time for sending message. */ ULONG ulTrack; /* Reserved. */ union { ULONG ulMessage; /* MIDI message. */ struct { BYTE bStatus; /* First byte of message. */ BYTE abData[3]; /* The rest of the message. */ } bytes; BYTE abData[4]; /* MIDI message. */ } msg; /* MIDI message. */ } MESSAGE; typedef MESSAGE * PMESSAGE ;