The ACMDM_STREAM_RESET message requests an ACM driver to stop conversion operations for the specified stream.
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.
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.