Syntax
VM_DCL_STATUS vm_dcl_control(
    VM_DCL_HANDLE device_handle, 
    VM_DCL_CONTROL_COMMAND command, 
    void* argument
);
ContentsIndex
PreviousUpNext
vm_dcl_control
Syntax
VM_DCL_STATUS vm_dcl_control(
    VM_DCL_HANDLE device_handle, 
    VM_DCL_CONTROL_COMMAND command, 
    void* argument
);
Description

Sends command to control the device, after the device is opened successfully by vm_dcl_open(). The command specifies what to do and the argument specifies the information needed for controlling the device by the device driver. The specific command is defined in the header file of the device driver. 

The device_handle, command and argument should correlate, so that the desired operation command is sent to the desired device. The execution of vm_dcl_control() can be either synchronously or asynchronously, depending on the command and the targeted device. Refer to the command description in the specific driver documentation.

Parameters
Parameters 
Description 
VM_DCL_HANDLE device_handle 
[IN] The handle of the targeted device, which is returned by vm_dcl_open(). 
VM_DCL_CONTROL_COMMAND command 
[IN] The command to control the device. Refer to the document of the device driver. 
void* argument 
[IN] The argument corresponding to the command. Refer to the document of the device driver. 
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.