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_PAUSE
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
WODM_PAUSE
 
        This message is sent to a waveform output device driver to pause
        playback of a waveform.
 
Parameters
        DWORD dwParam1
            Unused.
 
        DWORD dwParam2
            Unused.
 
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
        If a waveform is currently playing, the driver should stop
        playing without resetting its position. If playback has not
        yet begun, the driver should remember that it is in a paused
        state and delay playback until it receives a WODM_RESTART
        message. Data blocks received with the WODM_WRITE message
        should be placed in the output queue. If output is already
        paused, this message should have no effect, and the driver
        should return MMSYSERR_NOERROR.
 
                                       -♦-