ACM_Read (Compact 2013)
3/26/2014
This function reads from an ACM device.
Syntax
DWORD ACM_Read(
DWORD dwOpenData,
LPVOID pBuf,
DWORD len
);
Parameters
- dwOpenData
Value that specifies the value returned from a call to the ACM_Open (ACM Driver) function.This function is free to use or ignore this parameter.
- pBuf
Pointer to the input parameter structure ACMDRV_MESSAGE_PARAMS. The function is free to use or ignore this parameter.
- len
Value that specifies the size, in bytes, of the ACMDRV_MESSAGE_PARAMS structure. The function is free to use or ignore this parameter.
Return Value
The Wave API Manager never calls this function, so this routine may be empty and have an arbitrary return value. This is a required function for stream interface drivers, but the ACM_IOControl function handles all data communication. The ACM Driver Wrapper library (Acmdwrap.lib) always returns 0.
Requirements
Header |
Acmdrv.h |
Library |
Acmdwrap.lib |