Share via


ACM_Read (Windows Embedded CE 6.0)

1/6/2010

This function reads from an ACM device.

Syntax

DWORD ACM_Read(
  DWORD dwOpenData,
  LPVOID pBuf,
  DWORD len
);

Parameters

  • dwOpenData
    Value that specifies the value returned from a call to the ACM_Open (ACM Driver) function.This function is free to use or ignore this parameter.
  • pBuf
    Pointer to the input parameter structure ACMDRV_MESSAGE_PARAMS. The function is free to use or ignore this parameter.
  • len
    Value that specifies the size, in bytes, of the ACMDRV_MESSAGE_PARAMS structure. The function is free to use or ignore this parameter.

Return Value

The Wave API Manager never calls this function, so this routine may be empty and have an arbitrary return value. This is a required function for stream interface drivers, but the ACM_IOControl function handles all data communication. The ACM Driver Wrapper library (Acmdwrap.lib) always returns 0.

Requirements

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

See Also

Concepts

ACM Driver Functions