Compartir a través de


ACM_IOControl (Windows CE 5.0)

Send Feedback

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

BOOL ACM_IOControl(DWORDdwOpenData,DWORDdwCode,PBYTE pBufIn,DWORDdwLenIn,PBYTE pBufOut,DWORD dwLenOut,PDWORD pdwActualOut);

Parameters

  • dwOpenData
    Value that specifies the value returned from a call to the ACM_Open (ACM Driver) function.
  • 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.
  • pBufIn
    Pointer to the input parameter structure ACMDRV_MESSAGE_PARAMS.
  • 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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Acmdrv.h.
Link Library: Acmdwrap.lib.

See Also

ACM_Open (ACM Driver) | ACMDRV_MESSAGE_PARAMS | ACM Driver Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.