44#if defined(__WIN32__) || defined(__GDK__)
46typedef void (SDLCALL * SDL_WindowsMessageHook)(
void *userdata,
void *hWnd,
unsigned int message, Uint64 wParam, Sint64 lParam);
56extern DECLSPEC
void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback,
void *userdata);
60#if defined(__WIN32__) || defined(__WINGDK__)
75extern DECLSPEC
int SDLCALL SDL_Direct3D9GetAdapterIndex(
int displayIndex );
77typedef struct IDirect3DDevice9 IDirect3DDevice9;
91extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
93typedef struct ID3D11Device ID3D11Device;
107extern DECLSPEC ID3D11Device* SDLCALL SDL_RenderGetD3D11Device(SDL_Renderer * renderer);
111#if defined(__WIN32__) || defined(__GDK__)
113typedef struct ID3D12Device ID3D12Device;
127extern DECLSPEC ID3D12Device* SDLCALL SDL_RenderGetD3D12Device(SDL_Renderer* renderer);
131#if defined(__WIN32__) || defined(__WINGDK__)
151extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo(
int displayIndex,
int *adapterIndex,
int *outputIndex );
169extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriority(Sint64 threadID,
int priority);
184extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriorityAndPolicy(Sint64 threadID,
int sdlPriority,
int schedPolicy);
191#define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam)
225extern DECLSPEC
int SDLCALL SDL_iPhoneSetAnimationCallback(
SDL_Window * window,
int interval,
void (SDLCALL *callback)(
void*),
void *callbackParam);
227#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
243extern DECLSPEC
void SDLCALL SDL_iPhoneSetEventPump(SDL_bool enabled);
268extern DECLSPEC
void * SDLCALL SDL_AndroidGetJNIEnv(
void);
290extern DECLSPEC
void * SDLCALL SDL_AndroidGetActivity(
void);
322extern DECLSPEC
int SDLCALL SDL_GetAndroidSDKVersion(
void);
331extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(
void);
340extern DECLSPEC SDL_bool SDLCALL SDL_IsChromebook(
void);
349extern DECLSPEC SDL_bool SDLCALL SDL_IsDeXMode(
void);
356extern DECLSPEC
void SDLCALL SDL_AndroidBackButton(
void);
362#define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01
363#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02
381extern DECLSPEC
const char * SDLCALL SDL_AndroidGetInternalStoragePath(
void);
398extern DECLSPEC
int SDLCALL SDL_AndroidGetExternalStorageState(
void);
416extern DECLSPEC
const char * SDLCALL SDL_AndroidGetExternalStoragePath(
void);
428extern DECLSPEC SDL_bool SDLCALL SDL_AndroidRequestPermission(
const char *permission);
453extern DECLSPEC
int SDLCALL SDL_AndroidShowToast(
const char* message,
int duration,
int gravity,
int xoffset,
int yoffset);
465extern DECLSPEC
int SDLCALL SDL_AndroidSendMessage(Uint32 command,
int param);
479 SDL_WINRT_PATH_INSTALLED_LOCATION,
482 SDL_WINRT_PATH_LOCAL_FOLDER,
488 SDL_WINRT_PATH_ROAMING_FOLDER,
492 SDL_WINRT_PATH_TEMP_FOLDER
502 SDL_WINRT_DEVICEFAMILY_UNKNOWN,
505 SDL_WINRT_DEVICEFAMILY_DESKTOP,
508 SDL_WINRT_DEVICEFAMILY_MOBILE,
511 SDL_WINRT_DEVICEFAMILY_XBOX,
512} SDL_WinRT_DeviceFamily;
536extern DECLSPEC
const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
559extern DECLSPEC
const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
568extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
584extern DECLSPEC
void SDLCALL SDL_OnApplicationWillTerminate(
void);
585extern DECLSPEC
void SDLCALL SDL_OnApplicationDidReceiveMemoryWarning(
void);
586extern DECLSPEC
void SDLCALL SDL_OnApplicationWillResignActive(
void);
587extern DECLSPEC
void SDLCALL SDL_OnApplicationDidEnterBackground(
void);
588extern DECLSPEC
void SDLCALL SDL_OnApplicationWillEnterForeground(
void);
589extern DECLSPEC
void SDLCALL SDL_OnApplicationDidBecomeActive(
void);
591extern DECLSPEC
void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(
void);
596typedef struct XTaskQueueObject * XTaskQueueHandle;
611extern DECLSPEC
int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue);
DECLSPEC SDL_bool SDLCALL SDL_IsTablet(void)
struct SDL_Window SDL_Window
The type used to identify a window.
Definition: SDL_video.h:95