49 typedef void (SDLCALL * SDL_WindowsMessageHook)(
void *
userdata,
void *hWnd,
unsigned int message,
Uint64 wParam,
Sint64 lParam);
50 extern DECLSPEC
void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback,
void *userdata);
58 extern DECLSPEC
int SDLCALL SDL_Direct3D9GetAdapterIndex(
int displayIndex );
60 typedef struct IDirect3DDevice9 IDirect3DDevice9;
66 extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
74 extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo(
int displayIndex,
int *adapterIndex,
int *outputIndex );
80 #if defined(__IPHONEOS__) && __IPHONEOS__ 82 #define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam) 83 extern DECLSPEC
int SDLCALL SDL_iPhoneSetAnimationCallback(
SDL_Window * window,
int interval,
void (*callback)(
void*),
void *callbackParam);
85 #define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled) 86 extern DECLSPEC
void SDLCALL SDL_iPhoneSetEventPump(SDL_bool enabled);
92 #if defined(__ANDROID__) && __ANDROID__ 99 extern DECLSPEC
void * SDLCALL SDL_AndroidGetJNIEnv();
109 extern DECLSPEC
void * SDLCALL SDL_AndroidGetActivity();
115 #define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01 116 #define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02 124 extern DECLSPEC
const char * SDLCALL SDL_AndroidGetInternalStoragePath();
133 extern DECLSPEC
int SDLCALL SDL_AndroidGetExternalStorageState();
141 extern DECLSPEC
const char * SDLCALL SDL_AndroidGetExternalStoragePath();
146 #if defined(__WINRT__) && __WINRT__ 155 SDL_WINRT_PATH_INSTALLED_LOCATION,
158 SDL_WINRT_PATH_LOCAL_FOLDER,
164 SDL_WINRT_PATH_ROAMING_FOLDER,
168 SDL_WINRT_PATH_TEMP_FOLDER
187 extern DECLSPEC
const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
204 extern DECLSPEC
const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
uint64_t Uint64
An unsigned 64-bit integer type.
Definition: SDL_stdinc.h:168
struct SDL_Window SDL_Window
The type used to identify a window.
Definition: SDL_video.h:90
int64_t Sint64
A signed 64-bit integer type.
Definition: SDL_stdinc.h:164
void * userdata
Definition: SDL_surface.h:78