xiSetParam

Function xiSetParam 

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

\brief Set device parameter

Allows the user to control device.

@param[in] hDevice handle to device @param[in] prm parameter name string. @param[in] val pointer to parameter set value. @param[in] size size of val. @param[in] type val data type. @return XI_OK on success, error value otherwise.