find_own_top_level_window

Function find_own_top_level_window 

Source
pub(crate) unsafe fn find_own_top_level_window() -> *mut c_void
Expand description

Find the top-level window belonging to this process. In CEF Views mode, browser.host().window_handle() returns NULL, so we enumerate windows and find ours by process ID.