浏览代码

Fixed bug 3168 - xinput build failure with dxsdk

Ozkan Sezer

Yes, the annotations can actually be removed.  They are used only by MSVC and aren't vital.
Sam Lantinga 9 年之前
父节点
当前提交
11f2a9f8c4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/core/windows/SDL_xinput.h

+ 3 - 3
src/core/windows/SDL_xinput.h

@@ -146,9 +146,9 @@ typedef DWORD (WINAPI *XInputGetCapabilities_t)
 
 typedef DWORD (WINAPI *XInputGetBatteryInformation_t)
     (
-    _In_  DWORD                         dwUserIndex,
-    _In_  BYTE                          devType,
-    _Out_ XINPUT_BATTERY_INFORMATION_EX *pBatteryInformation
+    DWORD                         dwUserIndex,
+    BYTE                          devType,
+    XINPUT_BATTERY_INFORMATION_EX *pBatteryInformation
     );
 
 extern int WIN_LoadXInputDLL(void);