pub unsafe fn window_get_event_target(window: *mut Object) -> Result<u16>
This function is unsafe because it may dereference raw pointers.