ACMDM_HARDWARE_WAVE_CAPS_INPUT
The ACMDM_HARDWARE_WAVE_CAPS_INPUT message requests an ACM driver to return hardware capabilities for a waveform input device.
Parameters
dwDriverID
Driver instance identifier. This is the value returned by the driver in response to the DRV_OPEN message.
hDriver
Driver handle.
uMsg
ACMDM_HARDWARE_WAVE_CAPS_INPUT
lParam1
Pointer to a WAVEINCAPS structure. (WAVEINCAPS is defined in mmsystem.h and described in the Win32 SDK.)
lParam2
Size of the WAVEINCAPS structure pointed to by lParam1.
Return Value
The driver should return MMSYSERR_NOERROR if the operation succeeds. Otherwise it should return one of the MMSYSERR error codes defined in mmsystem.h, or one of the ACMERR error codes defined in msacm.h. If the driver does not support waveform hardware, it should return MMSYSERR_NOTSUPPORTED.
Comments
The ACM sends the ACMDM_HARDWARE_WAVE_CAPS_INPUT message by calling the driver's DriverProc entry point, passing the specified parameters, each time a client calls the acmMetrics function with the ACM_METRIC_HARDWARE_WAVE_INPUT index argument. (The acmMetrics function is described in the Win32 SDK.)
The driver receives the address of a WAVEINCAPS structure. The driver must fill in the structure.
Only ACM drivers that provide access to waveform input hardware need to support this message. If your driver supports the message, it must return ACMDRIVERDETAILS_SUPPORTF_HARDWARE in the ACMDRIVERDETAILS structure provided with the ACMDM_DRIVER_DETAILS message. For more information, see Providing ACM Support in Device Drivers.