Windows Multimedia DDK (mddkqh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WODM_GETPOS
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
WODM_GETPOS
 
        This message is sent to a waveform output device driver to
        request the current playback position for a waveform. The
        playback position is relative to the beginning of the waveform
        and is reset with the WODM_OPEN and WODM_RESET messages.
 
Parameters
        DWORD dwParam1
            Specifies a far pointer to an MMTIME structure.
 
        DWORD dwParam2
            Specifies the size of the MMTIME structure.
 
Return value
        The return value is an error code, or zero (MMSYSERR_NOERROR) if
        the operation is successful. Possible error codes are:
 
        MMSYSERR_NOTENABLED
            The driver failed to load or initialize.
 
Comments
        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.
 
                                       -♦-