acmDriverOpen function (msacm.h)
The acmDriverOpen function opens the specified ACM driver and returns a driver instance handle that can be used to communicate with the driver.
Syntax
MMRESULT ACMAPI acmDriverOpen(
LPHACMDRIVER phad,
HACMDRIVERID hadid,
DWORD fdwOpen
);
Parameters
phad
Pointer to a buffer that receives the new driver instance handle that can be used to communicate with the driver.
hadid
Handle to the driver identifier of an installed and enabled ACM driver.
fdwOpen
Reserved; must be zero.
Return value
Returns zero if successful or an error otherwise. Possible error values include the following.
Return code | Description |
---|---|
|
At least one flag is invalid. |
|
The specified handle is invalid. |
|
At least one parameter is invalid. |
|
The system is unable to allocate resources. |
|
The driver is not enabled. |
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 |