Share via


acmStreamClose

The acmStreamClose function closes an ACM conversion stream. If the function is successful, the handle is invalidated.

MMRESULT acmStreamClose(
  HACMSTREAM has, 
  DWORD fdwClose  
);

Parameters

has

Handle to the open conversion stream to be closed.

fdwClose

Reserved; must be zero.

Return Values

Returns zero if successful or an error otherwise. Possible error values include the following.

Value Description
ACMERR_BUSY The conversion stream cannot be closed because an asynchronous conversion is still in progress.
MMSYSERR_INVALFLAG At least one flag is invalid.
MMSYSERR_INVALHANDLE The specified handle is invalid.

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