Microsoft Windows CE 3.0  

ACM_IOControl

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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
Specifies a value returned from a call to the ACM_Openfunction.
dwCode
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
Specifies the size, in bytes, of ACMDRV_MESSAGE_PARAMS.
pBufOut
Pointer to the return value ( DWORD).
dwLenOut
Specifies the size of the return value variable DWORD.
pdwActualOut
Not used, must be 0.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

The ACM Driver Wrapper library (Acmdwrap.lib) calls the DriverProcfunction with the message specified in the ACMDRV_MESSAGE_PARAMSstructure.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later     Acmdwrap.lib
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.