소스 검색

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);