xiGetDeviceInfo

Function xiGetDeviceInfo 

Source
pub unsafe extern "C" fn xiGetDeviceInfo(
    DevId: DWORD,
    prm: *const c_char,
    val: *mut c_void,
    size: *mut DWORD,
    type_: *mut Type,
) -> XI_RETURN
Expand description

\brief Get device parameter

Allows the user to get the current device state and information. Parameters can be used:XI_PRM_DEVICE_SN, XI_PRM_DEVICE_INSTANCE_PATH, XI_PRM_DEVICE_TYPE, XI_PRM_DEVICE_NAME

@param[in] DevId index of the device @param[in] prm parameter name string. @param[in] val pointer to parameter set value. @param[in] size pointer to integer. @param[in] type pointer to type container. @return XI_OK on success, error value otherwise.