Optional Messages for Waveform Input Drivers

The widMessage entry-point function for waveform input drivers can optionally support the following messages, depending on whether the driver requires any special preparation to client data buffers.

WIDM_PREPARE Requests that the driver prepare a data buffer for input.
WIDM_UNPREPARE Requests that a driver clean up the preparation previously done on a data buffer.