ACM_Open (ACM Driver) (Windows CE 5.0)
This function opens an ACM driver.
PVOID ACM_Open(DWORDdwData,DWORDdwAccess,DWORD dwShareMode);
Parameters
- dwData
A value that specifies the value returned from a call to the ACM_Init function. The ACM driver is free to use or ignore this value. - dwAccess
A value that specifies a requested access level, which is a combination of GENERIC_READ and GENERIC_WRITE. The ACM driver is free to use or ignore this value. - dwShareMode
A value that specifies a requested share mode, which is a combination of FILE_SHARE_READ and FILE_SHARE_WRITE. The ACM 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. A return value of NULL indicates the function was unable to open the device.
Remarks
The ACM Driver Wrapper library, Acmdwrap.lib, always returns a constant value from this function.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Acmdrv.h.
Link Library: Acmdwrap.lib.
See Also
ACM_Init | ACM Driver Functions
Send Feedback on this topic to the authors