Windows Multimedia DDK (mddkqh.hlp) (Table of Contents; Topic list)
WIDM_STOP
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
WIDM_STOP
 
        This message is sent to a waveform input device driver to stop
        waveform recording.
 
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 the current buffer is partially full, it should be marked as
        done and returned to the client. Any empty buffers in the queue
        should remain there. Calling this function when input is not
        started should have no effect and MMSYSERR_NOERROR should be
        returned.
 
See also
        WIDM_START, WIDM_RESET
 
                                       -♦-