acmDriverID function (msacm.h)

The acmDriverID function returns the handle of an ACM driver identifier associated with an open ACM driver instance or stream handle.

Syntax

MMRESULT ACMAPI acmDriverID(
  HACMOBJ        hao,
  LPHACMDRIVERID phadid,
  DWORD          fdwDriverID
);

Parameters

hao

Handle to the open driver instance or stream handle. This is the handle of an ACM object, such as HACMDRIVER or HACMSTREAM.

phadid

Pointer to a buffer that receives a handle identifying the installed driver that is associated with hao.

fdwDriverID

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