SDL_dynapi_unsupported.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Simple DirectMedia Layer
  3. Copyright (C) 1997-2023 Sam Lantinga <[email protected]>
  4. This software is provided 'as-is', without any express or implied
  5. warranty. In no event will the authors be held liable for any damages
  6. arising from the use of this software.
  7. Permission is granted to anyone to use this software for any purpose,
  8. including commercial applications, and to alter it and redistribute it
  9. freely, subject to the following restrictions:
  10. 1. The origin of this software must not be misrepresented; you must not
  11. claim that you wrote the original software. If you use this software
  12. in a product, an acknowledgment in the product documentation would be
  13. appreciated but is not required.
  14. 2. Altered source versions must be plainly marked as such, and must not be
  15. misrepresented as being the original software.
  16. 3. This notice may not be removed or altered from any source distribution.
  17. */
  18. #ifndef SDL_dynapi_unsupported_h_
  19. #define SDL_dynapi_unsupported_h_
  20. #if !(defined(__WIN32__) || defined(__GDK__))
  21. typedef struct ID3D12Device ID3D12Device;
  22. typedef void *SDL_WindowsMessageHook;
  23. #endif
  24. #if !(defined(__WIN32__) || defined(__WINGDK__))
  25. typedef struct ID3D11Device ID3D11Device;
  26. typedef struct IDirect3DDevice9 IDirect3DDevice9;
  27. #endif
  28. #ifndef __GDK__
  29. typedef struct XTaskQueueHandle XTaskQueueHandle;
  30. #endif
  31. #ifndef __WINRT__
  32. typedef int SDL_WinRT_DeviceFamily;
  33. typedef int SDL_WinRT_Path;
  34. #endif
  35. #ifndef __GDK__
  36. typedef struct XUserHandle XUserHandle;
  37. #endif
  38. #endif