MIDM_GETPOS

Requests that the driver return its current position in a stream of data. The position is reported as elapsed time relative to the start of the first byte that was received.

MMSYSERR_NOTENABLED The driver failed to load or initialize.

dwParam1
Specifies a far pointer to an MMTIME structure cast to a DWORD.
dwParam2
Specifies the length of the MMTIME structure in bytes.

The driver should return the position in the time format specified in the wType member of MMTIME. If the time format specified in wType is not supported, the driver should change wType to the default time format and return the position in that format.