次の方法で共有


ACM_IOControl (Compact 2013)

3/26/2014

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

See Also

Reference

ACM Driver Functions
ACM_Open (ACM Driver)
ACMDRV_MESSAGE_PARAMS