Share via


ACM_Write (Compact 2013)

3/26/2014

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

See Also

Reference

ACM Driver Functions
ACM_IOControl