pub unsafe extern "C" fn state(
write_ptr: u32,
write_len: u32,
kread_ptr: u32,
kread_len: u32,
) -> i64Expand description
Retrieve a value from the hook’s key-value map. @param write_ptr A buffer to write the state value into @param write_len The length of that buffer @param kread_ptr A buffer to read the state key from @param kread_len The length of that key @return The number of bytes written or a negative integer if an error occured.