acmStreamReset

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  
);

Parameters

has

Handle to the conversion stream.

fdwReset

Reserved; must be zero.

Return Values

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.

Remarks

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.

Requirements

  Windows NT/2000/XP: Included in Windows NT 3.1 and later.
  Windows 95/98/Me: Included in Windows 95 and later.
  Header: Declared in Msacm.h.
  Library: Use Msacm32.lib.

See Also

Audio Compression Manager, Audio Compression Functions

Show: