sdlHideWindow function
Hide a window.
\param window the window to hide. \returns true on success or false on failure; call SDL_GetError() for more information.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_ShowWindow \sa SDL_WINDOW_HIDDEN
extern SDL_DECLSPEC bool SDLCALL SDL_HideWindow(SDL_Window *window)
Implementation
bool sdlHideWindow(Pointer<SdlWindow> window) {
final sdlHideWindowLookupFunction = libSdl3.lookupFunction<
Uint8 Function(Pointer<SdlWindow> window),
int Function(Pointer<SdlWindow> window)>('SDL_HideWindow');
return sdlHideWindowLookupFunction(window) == 1;
}