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

Writes data to the device. This function may not applicable to the devices that do not transfer data. Refer to the specific device driver document for details. 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 containing the data to be written to the device. 
VM_DCL_BUFFER_LENGTH buffer_length 
[IN] The size of the buffer in bytes. 
VM_DCL_BUFFER_LENGTH* written_length 
[OUT] The actual number of bytes written to 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.