Function sdl2_sys::SDL_GetWindowID
source ยท pub unsafe extern "C" fn SDL_GetWindowID(
window: *mut SDL_Window,
) -> Uint32
Expand description
Get the numeric ID of a window.
The numeric ID is what SDL_WindowEvent references, and is necessary to map these events to specific SDL_Window objects.
\param window the window to query \returns the ID of the window on success or 0 on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetWindowFromID