Partager via


ACM_IOControl (Windows Embedded CE 6.0)

1/6/2010

This function is the I/O control routine for an ACM device driver.

Syntax

BOOL ACM_IOControl(
  DWORD dwOpenData,
  DWORD dwCode,
  PBYTE pBufIn,
  DWORD dwLenIn,
  PBYTE pBufOut,
  DWORD dwLenOut,
  PDWORD pdwActualOut
);

Parameters

  • dwCode
    Value that specifies an I/O control code for this function to perform. This function supports only one I/O control value, IOCTL_ACM_MESSAGE.
  • dwLenIn
    A value that specifies the size, in bytes, of the ACMDRV_MESSAGE_PARAMS structure.
  • pBufOut
    Pointer to the return value (DWORD).
  • dwLenOut
    A value that specifies the size of the DWORD return value variable.
  • pdwActualOut
    Not used. Must be set to 0.

Return Value

A return value of TRUE indicates success. A value of FALSE indicates failure.

Remarks

The ACM Driver Wrapper library, Acmdwrap.lib, calls the DriverProc function with the message specified in the ACMDRV_MESSAGE_PARAMS structure.

Requirements

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

See Also

Reference

ACM_Open (ACM Driver)
ACMDRV_MESSAGE_PARAMS

Concepts

ACM Driver Functions