WOM_DONE

The WOM_DONE callback message notifies a client that a user-mode driver has finished processing a WODM_WRITE message.

Parameters

dwMsg

WOM_DONE

dwParam1

Address of the WAVEHDR structure that was received with the WODM_WRITE message. (WAVEIHDR is defined in the Win32 SDK.)

dwParam2

NULL

Comments

A user-mode waveform output driver sends a WOM_DONE message to its client, by means of a callback, when the driver finishes processing a WODM_WRITE message. The driver sends the message to the client by calling DriverCallback, passing the specified parameters.

The driver sends the WOM_DONE message only if the client has previously specified a notification target with a WODM_OPEN message.

Win32 SDK documentation states that clients receive an MM_WOM_DONE message if the notification target is a window handle. WOM_DONE and MM_WOM_DONE are equivalent.

For additional information, see Notifying Clients from Audio Drivers and Transferring Waveform Output Data.