Scroll to navigation

SDL_GetWindowWMInfo(3) SDL3 FUNCTIONS SDL_GetWindowWMInfo(3)

NAME

SDL_GetWindowWMInfo - Get driver-specific information about a window.

SYNOPSIS

#include "SDL3/SDL.h"
int SDL_GetWindowWMInfo(SDL_Window *window, SDL_SysWMinfo *info, Uint32 version);

DESCRIPTION

You must include SDL_syswm .h for the declaration of

SDL_SysWMinfo .

FUNCTION PARAMETERS

the window about which information is being requested
an SDL_SysWMinfo
structure filled in with window information
the version of info being requested, should be SDL_SYSWM_CURRENT_VERSION

RETURN VALUE

Returns 0 on success or a negative error code on failure; call

SDL_GetError () for more information.

AVAILABILITY

This function is available since SDL 3.0.0.

SDL 3.0.0 SDL