Replace missing dxguid.lib functionality

One thing that did not make it into the move to the Windows SDK is the
dxguid.lib library, which defined the IIDs for all of the DirectX interfaces.
This replaces that, defining the ones we use. Currently, we only need to
define the DirectInput IIDs, so that is all that is here.

(backport from master)
This commit is contained in:
Tracy Ward
2019-10-04 08:48:19 -04:00
parent 46e1410932
commit cdc4bd9da2
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -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"
+13
View File
@@ -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 <dinput.h>