The midMessage entry-point function for MIDI input drivers may support the following messages, depending on whether the driver requires special preparation to client data buffers.
MIDM_PREPARE | Requests that the driver prepare a data block for playback. |
MIDM_UNPREPARE | Requests that a driver clean up the preparation previously done on a data block. |