Share via


ACM_Open (ACM Driver) (Windows Embedded CE 6.0)

1/6/2010

This function opens an ACM driver.

Syntax

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 Value

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

Header Acmdrv.h
Library Acmdwrap.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

ACM_Init

Concepts

ACM Driver Functions