ACM_IOControl
The function ACM_IOControl is used to pass IO control codes to the ACM driver.
Syntax
BOOL ACM_IOControl( DWORD dwOpenData, DWORD dwCode, PBYTE pBufIn, DWORD dwLenIn, PBYTE pBufOut, DWORD dwLenOut, PDWORD pdwActualOut );
Return Value
Returns TRUE for success, FALSE for failure.
Parameters
-
dwOpenData
-
Value returned from ACM_Open call.
-
dwCode
-
IO control code for the function to be performed. ACM_IOControl only supports one IOCTL value (IOCTL_ACM_MESSAGE).
-
pBufIn
-
Pointer to the input parameter structure (ACMDRV_MESSAGE_PARAMS).
-
dwLenIn
-
Size in bytes of input parameter structure (ACMDRV_MESSAGE_PARAMS).
-
pBufOut
-
Pointer to the return value (DWORD).
-
dwLenOut
-
Size of the return value variable (DWORD).
-
pdwActualOut
-
Unused.
See Also
ACM Driver Messages (ACMDM_XXX)