|
@@ -36,8 +36,8 @@
|
|
|
#include "SDL_windowsrawinput.h"
|
|
|
#include "SDL_windowsvulkan.h"
|
|
|
|
|
|
-#ifdef HAVE_SHOBJIDL_CORE_H
|
|
|
-#include <shobjidl_core.h>
|
|
|
+#if !(defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES))
|
|
|
+#include <shobjidl.h>
|
|
|
#endif
|
|
|
|
|
|
#ifdef SDL_GDK_TEXTINPUT
|
|
@@ -553,7 +553,7 @@ static bool WIN_VideoInit(SDL_VideoDevice *_this)
|
|
|
#if !defined(SDL_PLATFORM_XBOXONE) && !defined(SDL_PLATFORM_XBOXSERIES)
|
|
|
data->_SDL_WAKEUP = RegisterWindowMessageA("_SDL_WAKEUP");
|
|
|
#endif
|
|
|
-#if defined(HAVE_SHOBJIDL_CORE_H)
|
|
|
+#if !defined(SDL_PLATFORM_XBOXONE) && !defined(SDL_PLATFORM_XBOXSERIES)
|
|
|
data->WM_TASKBAR_BUTTON_CREATED = RegisterWindowMessageA("TaskbarButtonCreated");
|
|
|
#endif
|
|
|
|
|
@@ -579,12 +579,10 @@ void WIN_VideoQuit(SDL_VideoDevice *_this)
|
|
|
WIN_QuitKeyboard(_this);
|
|
|
WIN_QuitMouse(_this);
|
|
|
|
|
|
-#if defined(HAVE_SHOBJIDL_CORE_H)
|
|
|
if (data->taskbar_list) {
|
|
|
IUnknown_Release(data->taskbar_list);
|
|
|
data->taskbar_list = NULL;
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
if (data->oleinitialized) {
|
|
|
OleUninitialize();
|