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