WODM_GETPOS

Sent to a waveform output device driver to request the current playback position for a waveform file. The playback position is relative to the beginning of the waveform file and is reset with the WODM_OPEN and WODM_RESET messages.

MMSYSERR_NOTENABLED The driver failed to load or initialize.

DWORD dwParam1
Specifies a far pointer to an MMTIME structure.
DWORD dwParam2
Specifies the size of the MMTIME structure.

The wType field of the MMTIME structure indicates the time format requested by the client. If the driver cannot support the requested format, it should return the position in a format that it does support, and change the wType field accordingly.