acmDriverClose(3mms) — Subroutines
Name
acmDriverClose --- Close a previously opened ACM driver instance
Syntax
#include <mme/mme_api.h>
MMRESULT acmDriverClose(HACMDRIVER had,
DWORD fdwClose)
Arguments
HACMDRIVER had
Identifies the open driver instance to be closed.
DWORD fdwClose
Is not used and must be set to zero.
Description
This function closes a previously opened Audio Compression Manager (ACM) driver instance. If the function is successful, the handle is invalidated.
Extensions
None.
Return Values
Returns zero if the function was successful; otherwise, it returns a nonzero error number or one of the following error codes:
MMSYSERR_INVALHANDLE@T{ Specified handle is invalid. T} MMSYSERR_INVALFLAG@T{ One or more flags is invalid. T} ACMERR_BUSY@T{ The driver is in use and cannot be closed. T}