Function sdl2_sys::SDL_GetWindowWMInfo
source · pub unsafe extern "C" fn SDL_GetWindowWMInfo(
window: *mut SDL_Window,
info: *mut SDL_SysWMinfo,
) -> SDL_bool
Expand description
Get driver-specific information about a window.
You must include SDL_syswm.h for the declaration of SDL_SysWMinfo.
The caller must initialize the info
structure’s version by using
SDL_VERSION(&info.version)
, and then this function will fill in the rest
of the structure with information about the given window.
\param window the window about which information is being requested
\param info an SDL_SysWMinfo structure filled in with window information
\returns SDL_TRUE if the function is implemented and the version
member
of the info
struct is valid, or SDL_FALSE if the information
could not be retrieved; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.