acmDriverRemove function

The acmDriverRemove function removes an ACM driver from the list of available ACM drivers. The driver will be removed for the calling application only. If the driver is globally installed, other applications will still be able to use it.

Syntax

MMRESULT ACMAPI acmDriverRemove(
  HACMDRIVERID hadid,
  DWORD        fdwRemove
);

Parameters

hadid

Handle to the driver identifier to be removed.

fdwRemove

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 driver is in use and cannot be removed.
MMSYSERR_INVALFLAG
At least one flag is invalid.
MMSYSERR_INVALHANDLE
The specified handle is invalid.

Requirements

   
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