Function xiGetParam

Source
pub unsafe extern "C" fn xiGetParam(
    hDevice: *mut c_void,
    prm: *const i8,
    val: *mut c_void,
    size: *mut u32,
    type_: *mut u32,
) -> i32
Expand description

\brief Get device parameter

Allows the user to get the current device state and information.

@param[in] hDevice handle to 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.