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:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user