The acmStreamReset function stops conversions for a given ACM stream. All pending buffers are marked as done and returned to the application.
MMRESULT acmStreamReset(
HACMSTREAM has,
DWORD fdwReset
);
Returns zero if successful or an error otherwise. Possible error values include the following:
Value | Description |
---|---|
MMSYSERR_INVALFLAG | At least one flag is invalid. |
MMSYSERR_INVALHANDLE | The specified handle is invalid. |
Resetting an ACM conversion stream is necessary only for asynchronous conversion streams. Resetting a synchronous conversion stream will succeed, but no action will be taken.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in msacm.h.
Import Library: Use msacm32.lib.
Audio Compression Manager Overview, Audio Compression Functions