The acmDriverClose function closes a previously opened ACM driver instance. If the function is successful, the handle is invalidated.
MMRESULT acmDriverClose(
HACMDRIVER had,
DWORD fdwClose
);
Returns zero if successful or an error otherwise. Possible error values include the following:
Value | Description |
---|---|
ACMERR_BUSY | The driver is in use and cannot be closed. |
MMSYSERR_INVALFLAG | At least one flag is invalid. |
MMSYSERR_INVALHANDLE | The specified handle is invalid. |
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