diff --git a/src/CMakeData-os.cmake b/src/CMakeData-os.cmake index 4da9486e4d..a8116942c0 100644 --- a/src/CMakeData-os.cmake +++ b/src/CMakeData-os.cmake @@ -42,6 +42,7 @@ else() "archutils/Win32/CrashHandlerNetworking.cpp" "archutils/Win32/DebugInfoHunt.cpp" "archutils/Win32/DialogUtil.cpp" + "archutils/Win32/DirectXGuids.cpp" "archutils/Win32/DirectXHelpers.cpp" "archutils/Win32/ErrorStrings.cpp" "archutils/Win32/GetFileInformation.cpp" diff --git a/src/archutils/Win32/DirectXGuids.cpp b/src/archutils/Win32/DirectXGuids.cpp new file mode 100644 index 0000000000..22ae05e658 --- /dev/null +++ b/src/archutils/Win32/DirectXGuids.cpp @@ -0,0 +1,13 @@ +#include "global.h" + +// The purpose of this file is to define the various GUIDs we need, which +// we used to get via dxguid.lib in the DirectX SDK. The DirectX SDK has +// been discontinued and (mostly) rolled into the Windows SDK, but it is +// missing a few features. One of which is dxguid.lib. + +// if you wind up running into other GUIDs you need, add them here + +#define INITGUID + +#define DIRECTINPUT_VERSION 0x0800 +#include