acmDriverDetails function (msacm.h)

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

Syntax

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

Parameters

hadid

Handle to the driver identifier of an installed ACM driver. Disabled drivers can be queried for details.

padd

Pointer to 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 value

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

Return code Description
MMSYSERR_INVALFLAG
At least one flag is invalid.
MMSYSERR_INVALHANDLE
The specified handle is invalid.
MMSYSERR_INVALPARAM
At least one parameter 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

See also

Audio Compression Functions

Audio Compression Manager