VM_DCL_STATUS vm_dcl_register_callback( VM_DCL_HANDLE device_handle, VM_DCL_EVENT event, vm_dcl_callback callback, void* user_data );
VM_DCL_STATUS vm_dcl_register_callback( VM_DCL_HANDLE device_handle, VM_DCL_EVENT event, vm_dcl_callback callback, void* user_data );
Registers a callback to listen to the events from a device specified by the device_handle. The callback enables an asynchronous operation between the application and the device.
|
Parameters |
Description |
|
VM_DCL_HANDLE device_handle |
[IN] The handle of the targeted device, which is returned by vm_dcl_open(). |
|
VM_DCL_EVENT event |
[IN] Identifies in what condition that the callback is triggered by. |
|
vm_dcl_callback callback |
[IN] The callback function to be registered. |
|
void* user_data |
[IN] The additional data to be passed to this callback function. The real type of this value should be vm_dcl_callback_data_t. The detail of this structure is given by the driver. |
vmdcl.h
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.