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.
WIDM_GETDEVCAPS
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
WIDM_GETDEVCAPS
 
        This message is sent to a waveform input device driver to
        request the capabilities of a specific waveform input device.
 
Parameters
        DWORD dwParam1
            Specifies a far pointer to a WAVEINCAPS data structure. The
            driver fills this structure with the capabilities of the
            device.
 
        DWORD dwParam2
            Specifies the size of the WAVEINCAPS data structure in
            bytes.
 
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 driver should only write dwParam2 or less bytes to the
        location pointed to by dwParam1. If dwParam2 is 0, write
        nothing and return MMSYSERR_NOERROR.
 
                                       -♦-