The ACMDM_STREAM_RESET message requests an ACM driver to stop conversion operations for the specified stream.
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_STREAM_RESET
lParam1
Pointer to an ACMDRVSTREAMINSTANCE structure.
lParam2
Contains the fdwReset argument to the acmStreamReset function.
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.
Comments
A client sends the ACMDM_STREAM_RESET message by calling the driver’s DriverProc entry point, passing the specified parameters. The ACM sends this message when an application calls the acmStreamReset function, which is described in the Win32 SDK.
Only asynchronous drivers receive this message. If a client calls acmStreamReset for a synchronous driver, the ACM returns MMSYSERR_NOERROR without calling the driver.
When an asynchronous driver receives this message, it should set the ACMSTREAMHEADER_STATUSF_DONE flag, and clear the ACMSTREAMHEADER_STATUSF_INQUEUE flag, in every ACMDRVSTREAMHEADER structure contained in its conversion queue.
For more information about stream conversions, see Converting Data Streams.