logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetGDKDefaultUser - Gets a reference to the default user handle for GDK.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                           SDL_GetGDKDefaultUser(3)

Description

       This  is  effectively  a  synchronous version of XUserAddAsync, which always prefers the default user and
       allows a sign-in UI.

Function Parameters

outUserHandle
              a pointer to be filled in with the default user handle.

Header File

       Defined in SDL3/SDL_system.h

Name

       SDL_GetGDKDefaultUser - Gets a reference to the default user handle for GDK.

Return Value

       Returns true if success or false on failure; call

       SDL_GetError () for more information.

Synopsis

#include"SDL3/SDL.h"boolSDL_GetGDKDefaultUser(XUserHandle*outUserHandle);

See Also