ACM_Open
This function opens an ACM driver.
Syntax
PVOID ACM_Open( DWORD dwData, DWORD dwAccess,
DWORD dwShareMode );
Parameters
- dwData
- Specifies a value returned from ACM_Init call, which the driver is free to use or ignore.
- dwAccess
- Specifies a requested access level, a combination of GENERIC_READ and GENERIC_WRITE. The driver is free to use or ignore this value.
- dwShareMode
- Specifies a requested share mode, a combination of FILE_SHARE_READ and FILE_SHARE_WRITE. The driver is free to use or ignore this value.
Return Values
Returns a DWORD that is passed to the functions ACM_Read, ACM_Write, and so on, or NULL if unable to open the device.
Remarks
The ACM Driver Wrapper library (Acmdwrap.lib) always returns a constant value from this function.