ACM_Open
This function opens an ACM driver.
PVOID ACM_Open(
DWORD dwData,
DWORD dwAccess,
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
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.