acmStreamClose function (msacm.h)

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

Syntax

MMRESULT ACMAPI acmStreamClose(
  HACMSTREAM has,
  DWORD      fdwClose
);

Parameters

has

Handle to the open conversion stream to be closed.

fdwClose

Reserved; must be zero.

Return value

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

Return code 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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msacm.h
Library Msacm32.lib
DLL Msacm32.dll

See also

Audio Compression Functions

Audio Compression Manager