acmDriverRemove

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.

MMRESULT acmDriverRemove(
  HACMDRIVERID hadid,  
  DWORD fdwRemove      
);
 

Parameters

hadid
Handle of the driver identifier to be removed.
fdwRemove
Reserved; must be zero.

Return Values

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 removed.
MMSYSERR_INVALFLAG At least one flag is invalid.
MMSYSERR_INVALHANDLE The specified handle is invalid.

QuickInfo

  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.

See Also

Audio Compression Manager Overview, Audio Compression Functions