ACM_IOControl
Device IO control routine
Syntax
BOOL ACM_IOControl(DWORD dwOpenData, DWORD dwCode,
PBYTE pBufIn, DWORD dwLenIn, PBYTE pBufOut, DWORD dwLenOut, PDWORD pdwActualOut)
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 (sizeof(ACMDRV_MESSAGE_PARAMS)).
-
pBufOut
-
Pointer to the return value (DWORD).
-
dwLenOut
-
Size of the return value variable (sizeof(DWORD)).
-
pdwActualOut
-
Unused
Return Value
Returns TRUE for success, FALSE for failure
See Also
ACM Driver Messages (ACMDM_XXX)