44#if defined(__WIN32__) || defined(__GDK__)
60#if defined(__WIN32__) || defined(__WINGDK__)
111#if defined(__WIN32__) || defined(__GDK__)
131#if defined(__WIN32__) || defined(__WINGDK__)
169extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriority(
Sint64 threadID,
int priority);
184extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriorityAndPolicy(
Sint64 threadID,
int sdlPriority,
int schedPolicy);
191typedef void (SDLCALL *SDL_iOSAnimationCallback)(
void*);
225extern DECLSPEC
int SDLCALL SDL_iPhoneSetAnimationCallback(
SDL_Window * window,
int interval, SDL_iOSAnimationCallback callback,
void *callbackParam);
227#define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam)
244extern DECLSPEC
void SDLCALL SDL_iPhoneSetEventPump(
SDL_bool enabled);
246#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
272extern DECLSPEC
void * SDLCALL SDL_AndroidGetJNIEnv(
void);
294extern DECLSPEC
void * SDLCALL SDL_AndroidGetActivity(
void);
326extern DECLSPEC
int SDLCALL SDL_GetAndroidSDKVersion(
void);
335extern DECLSPEC
SDL_bool SDLCALL SDL_IsAndroidTV(
void);
344extern DECLSPEC
SDL_bool SDLCALL SDL_IsChromebook(
void);
353extern DECLSPEC
SDL_bool SDLCALL SDL_IsDeXMode(
void);
360extern DECLSPEC
void SDLCALL SDL_AndroidBackButton(
void);
366#define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01
367#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02
385extern DECLSPEC
const char * SDLCALL SDL_AndroidGetInternalStoragePath(
void);
402extern DECLSPEC
int SDLCALL SDL_AndroidGetExternalStorageState(
void);
420extern DECLSPEC
const char * SDLCALL SDL_AndroidGetExternalStoragePath(
void);
432extern DECLSPEC
SDL_bool SDLCALL SDL_AndroidRequestPermission(
const char *permission);
457extern DECLSPEC
int SDLCALL SDL_AndroidShowToast(
const char* message,
int duration,
int gravity,
int xoffset,
int yoffset);
469extern DECLSPEC
int SDLCALL SDL_AndroidSendMessage(
Uint32 command,
int param);
479typedef enum SDL_WinRT_Path
483 SDL_WINRT_PATH_INSTALLED_LOCATION,
486 SDL_WINRT_PATH_LOCAL_FOLDER,
492 SDL_WINRT_PATH_ROAMING_FOLDER,
496 SDL_WINRT_PATH_TEMP_FOLDER
503typedef enum SDL_WinRT_DeviceFamily
506 SDL_WINRT_DEVICEFAMILY_UNKNOWN,
509 SDL_WINRT_DEVICEFAMILY_DESKTOP,
512 SDL_WINRT_DEVICEFAMILY_MOBILE,
515 SDL_WINRT_DEVICEFAMILY_XBOX,
516} SDL_WinRT_DeviceFamily;
540extern DECLSPEC
const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
563extern DECLSPEC
const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
572extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
595extern DECLSPEC
void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(
void);
600typedef struct XTaskQueueObject *XTaskQueueHandle;
601typedef struct XUser *XUserHandle;
616extern DECLSPEC
int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue);
630extern DECLSPEC
int SDLCALL SDL_GDKGetDefaultUser(XUserHandle * outUserHandle);
struct SDL_Renderer SDL_Renderer
SDL_bool SDL_IsTablet(void)
void(* SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam)
void SDL_OnApplicationWillEnterForeground(void)
int SDL_Direct3D9GetAdapterIndex(int displayIndex)
SDL_bool SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex)
struct ID3D12Device ID3D12Device
IDirect3DDevice9 * SDL_RenderGetD3D9Device(SDL_Renderer *renderer)
ID3D12Device * SDL_RenderGetD3D12Device(SDL_Renderer *renderer)
void SDL_OnApplicationDidBecomeActive(void)
ID3D11Device * SDL_RenderGetD3D11Device(SDL_Renderer *renderer)
struct IDirect3DDevice9 IDirect3DDevice9
struct ID3D11Device ID3D11Device
void SDL_OnApplicationDidEnterBackground(void)
void SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata)
void SDL_OnApplicationDidReceiveMemoryWarning(void)
void SDL_OnApplicationWillResignActive(void)
void SDL_OnApplicationWillTerminate(void)
struct SDL_Window SDL_Window