Partager via


ACM_Write (Windows Embedded CE 6.0)

1/6/2010

This function writes to an ACM device.

Syntax

DWORD ACM_Write(
  DWORD dwOpenData,
  LPCVOID pBuf,
  DWORD len
);

Parameters

  • dwOpenData
    Value that specifies the value returned from a call to the ACM_Open (ACM Driver) function. The 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 stream interface driver function, 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

Reference

ACM_IOControl

Concepts

ACM Driver Functions