Syntax
VM_DCL_STATUS vm_dcl_read(
    VM_DCL_HANDLE device_handle, 
    VM_DCL_BUFFER* buffer, 
    VM_DCL_BUFFER_LENGTH buffer_length, 
    VM_DCL_BUFFER_LENGTH* read_length, 
    VM_DCL_OPTIONS options
);
ContentsIndex
PreviousUpNext
vm_dcl_read
Syntax
VM_DCL_STATUS vm_dcl_read(
    VM_DCL_HANDLE device_handle, 
    VM_DCL_BUFFER* buffer, 
    VM_DCL_BUFFER_LENGTH buffer_length, 
    VM_DCL_BUFFER_LENGTH* read_length, 
    VM_DCL_OPTIONS options
);
Description

Reads data from the device. This function may not applicable to the devices that do not transfer data. Some devices may also use vm_dcl_control() to transfer data, such as SPI.

Parameters
Parameters 
Description 
VM_DCL_HANDLE device_handle 
[IN] The handle of the targeted device, which is returned by vm_dcl_open(). 
VM_DCL_BUFFER* buffer 
[IN] The buffer used to store the data from this read operation. 
VM_DCL_BUFFER_LENGTH buffer_length 
[IN] The size of the buffer. 
VM_DCL_BUFFER_LENGTH* read_length 
[OUT] The actual number of bytes read from the device after the function returns. 
VM_DCL_OPTIONS options 
[IN] The specific options for the device, defined in the device document. 
Returns
File

vmdcl.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.