|
SDL
2.0
|
#include "../../SDL_internal.h"#include "../../core/windows/SDL_windows.h"#include "../SDL_syslocale.h"
Include dependency graph for SDL_syslocale.c:Go to the source code of this file.
Macros | |
| #define | MUI_LANGUAGE_NAME 0x8 |
Typedefs | |
| typedef BOOL(WINAPI * | pfnGetUserPreferredUILanguages) (DWORD, PULONG, WCHAR *, PULONG) |
Functions | |
| static void | SDL_SYS_GetPreferredLocales_winxp (char *buf, size_t buflen) |
| static void | SDL_SYS_GetPreferredLocales_vista (char *buf, size_t buflen) |
| void | SDL_SYS_GetPreferredLocales (char *buf, size_t buflen) |
Variables | |
| static pfnGetUserPreferredUILanguages | pGetUserPreferredUILanguages = NULL |
| static HMODULE | kernel32 = 0 |
| #define MUI_LANGUAGE_NAME 0x8 |
Definition at line 28 of file SDL_syslocale.c.
| typedef BOOL(WINAPI * pfnGetUserPreferredUILanguages) (DWORD, PULONG, WCHAR *, PULONG) |
Definition at line 26 of file SDL_syslocale.c.
Definition at line 100 of file SDL_syslocale.c.
References kernel32, NULL, pGetUserPreferredUILanguages, SDL_SYS_GetPreferredLocales_vista(), and SDL_SYS_GetPreferredLocales_winxp().
Definition at line 60 of file SDL_syslocale.c.
References i, MUI_LANGUAGE_NAME, NULL, pGetUserPreferredUILanguages, SDL_assert, SDL_min, SDL_OutOfMemory, SDL_small_alloc, SDL_small_free, and SDL_SYS_GetPreferredLocales_winxp().
Referenced by SDL_SYS_GetPreferredLocales().
Definition at line 37 of file SDL_syslocale.c.
References SDL_SetError, and SDL_snprintf.
Referenced by SDL_SYS_GetPreferredLocales(), and SDL_SYS_GetPreferredLocales_vista().
|
static |
Definition at line 32 of file SDL_syslocale.c.
Referenced by SDL_SYS_GetPreferredLocales().
|
static |
Definition at line 31 of file SDL_syslocale.c.
Referenced by SDL_SYS_GetPreferredLocales(), and SDL_SYS_GetPreferredLocales_vista().