acmDriverDetails

The acmDriverDetails function queries a specified ACM driver to determine its capabilities.

MMRESULT acmDriverDetails(
  HACMDRIVERID hadid,       
  LPACMDRIVERDETAILS padd,  
  DWORD fdwDetails          
);
 

Parameters

hadid
Handle of the driver identifier of an installed ACM driver. Disabled drivers can be queried for details.
padd
Address of an ACMDRIVERDETAILS structure that will receive the driver details. The cbStruct member must be initialized to the size, in bytes, of the structure.
fdwDetails
Reserved; must be zero.

Return Values

Returns zero if successful or an error otherwise. Possible error values include the following:

Value Description
MMSYSERR_INVALFLAG At least one flag is invalid.
MMSYSERR_INVALHANDLE The specified handle is invalid.
MMSYSERR_INVALPARAM At least one parameter 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.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

Audio Compression Manager Overview, Audio Compression Functions, ACMDRIVERDETAILS