SDL_GetGDKDefaultUser

Gets a reference to the default user handle for GDK.

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

version(GDK)
extern (C) nothrow @nogc extern
bool
SDL_GetGDKDefaultUser

Parameters

outUserHandle XUserHandle*

A pointer to be filled in with the default user handle.

Return Value

Type: bool

true if success or false on failure; call SDL_GetError() for more information.

Meta