acmDriverClose function (msacm.h)
The acmDriverClose function closes a previously opened ACM driver instance. If the function is successful, the handle is invalidated.
Syntax
MMRESULT ACMAPI acmDriverClose(
HACMDRIVER had,
DWORD fdwClose
);
Parameters
had
Handle to the open driver instance 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 |
---|---|
|
The driver is in use and cannot be closed. |
|
At least one flag is invalid. |
|
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 |