1/*
2 Simple DirectMedia Layer
3 Copyright (C) 1997-2025 Sam Lantinga <slouken@libsdl.org>
4
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any damages
7 arising from the use of this software.
8
9 Permission is granted to anyone to use this software for any purpose,
10 including commercial applications, and to alter it and redistribute it
11 freely, subject to the following restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software
15 in a product, an acknowledgment in the product documentation would be
16 appreciated but is not required.
17 2. Altered source versions must be plainly marked as such, and must not be
18 misrepresented as being the original software.
19 3. This notice may not be removed or altered from any source distribution.
20*/
21#include "SDL_internal.h"
22
23#ifndef SDL_VIDEO_DRIVER_WINDOWS
24
25#if defined(SDL_PLATFORM_WINDOWS)
26
27bool SDL_RegisterApp(const char *name, Uint32 style, void *hInst)
28{
29 (void)name;
30 (void)style;
31 (void)hInst;
32 return true;
33}
34
35void SDL_UnregisterApp(void)
36{
37}
38
39void SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata)
40{
41}
42
43#endif // defined(SDL_PLATFORM_WINDOWS)
44
45SDL_DECLSPEC bool SDLCALL SDL_GetDXGIOutputInfo(SDL_DisplayID displayID, int *adapterIndex, int *outputIndex);
46bool SDL_GetDXGIOutputInfo(SDL_DisplayID displayID, int *adapterIndex, int *outputIndex)
47{
48 (void)displayID;
49 (void)adapterIndex;
50 (void)outputIndex;
51 return SDL_Unsupported();
52}
53
54SDL_DECLSPEC int SDLCALL SDL_GetDirect3D9AdapterIndex(SDL_DisplayID displayID);
55int SDL_GetDirect3D9AdapterIndex(SDL_DisplayID displayID)
56{
57 (void)displayID;
58 SDL_Unsupported();
59 return -1;
60}
61
62#elif defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)
63
64SDL_DECLSPEC int SDLCALL SDL_GetDirect3D9AdapterIndex(SDL_DisplayID displayID);
65int SDL_GetDirect3D9AdapterIndex(SDL_DisplayID displayID)
66{
67 (void)displayID;
68 SDL_Unsupported();
69 return -1;
70}
71
72#endif // !SDL_VIDEO_DRIVER_WINDOWS
73
74#ifndef SDL_PLATFORM_GDK
75
76SDL_DECLSPEC bool SDLCALL SDL_GetGDKTaskQueue(void *outTaskQueue);
77bool SDL_GetGDKTaskQueue(void *outTaskQueue)
78{
79 (void)outTaskQueue;
80 return SDL_Unsupported();
81}
82
83#endif
84
85#ifndef SDL_VIDEO_DRIVER_UIKIT
86
87SDL_DECLSPEC void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(void);
88void SDL_OnApplicationDidChangeStatusBarOrientation(void)
89{
90 SDL_Unsupported();
91}
92
93#endif
94
95#ifndef SDL_VIDEO_DRIVER_UIKIT
96
97typedef void (SDLCALL *SDL_iOSAnimationCallback)(void *userdata);
98SDL_DECLSPEC bool SDLCALL SDL_SetiOSAnimationCallback(SDL_Window *window, int interval, SDL_iOSAnimationCallback callback, void *callbackParam);
99bool SDL_SetiOSAnimationCallback(SDL_Window *window, int interval, SDL_iOSAnimationCallback callback, void *callbackParam)
100{
101 (void)window;
102 (void)interval;
103 (void)callback;
104 (void)callbackParam;
105 return SDL_Unsupported();
106}
107
108SDL_DECLSPEC void SDLCALL SDL_SetiOSEventPump(bool enabled);
109void SDL_SetiOSEventPump(bool enabled)
110{
111 (void)enabled;
112 SDL_Unsupported();
113}
114#endif
115
116