ACM_IOControl
This function is the I/O control routine for an ACM device driver.
BOOL ACM_IOControl(
DWORD dwOpenData,
DWORD dwCode,
PBYTE pBufIn,
DWORD dwLenIn,
PBYTE pBufOut,
DWORD dwLenOut,
PDWORD pdwActualOut
);
Parameters
- dwOpenData
Value that specifies the value returned from a call to the ACM_Open 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 | ACMDRV_MESSAGE_PARAMS | ACM Driver Functions
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.