pub unsafe extern "C" fn state_set(
read_ptr: u32,
read_len: u32,
kread_ptr: u32,
kread_len: u32,
) -> i64Expand description
In the hook’s state key-value map, set the value for the key pointed at by kread_ptr. @param read_ptr A buffer containing the data to store @param read_len The length of the data @param kread_ptr A buffer containing the key @param kread_len The length of the key @return The number of bytes stored or a negative integer if an error occured