From 11f2a9f8c4b5d08f9432207b93b5886d209c45d8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 16 Nov 2015 21:20:38 -0800 Subject: [PATCH] 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. --- src/core/windows/SDL_xinput.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/windows/SDL_xinput.h b/src/core/windows/SDL_xinput.h index e649c5587..c22b1ebe7 100644 --- a/src/core/windows/SDL_xinput.h +++ b/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);