Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
907add75
Commit
907add75
authored
Jan 08, 2009
by
Andrew Fenn
Committed by
Alexandre Julliard
Jan 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xinput1_3: Added stub code for XInputGetBatteryInformation.
parent
ab0d420d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
xinput1_3.spec
dlls/xinput1_3/xinput1_3.spec
+1
-1
xinput1_3_main.c
dlls/xinput1_3/xinput1_3_main.c
+12
-0
No files found.
dlls/xinput1_3/xinput1_3.spec
View file @
907add75
...
...
@@ -4,4 +4,4 @@
@ stdcall XInputGetKeystroke(long long ptr)
@ stdcall XInputGetCapabilities(long long ptr)
@ stdcall XInputGetDSoundAudioDeviceGuids(long ptr ptr)
@ st
ub XInputGetBatteryInformation
@ st
dcall XInputGetBatteryInformation(long ptr ptr)
dlls/xinput1_3/xinput1_3_main.c
View file @
907add75
...
...
@@ -114,3 +114,15 @@ DWORD WINAPI XInputGetDSoundAudioDeviceGuids(DWORD dwUserIndex, GUID* pDSoundRen
}
return
ERROR_BAD_ARGUMENTS
;
}
DWORD
WINAPI
XInputGetBatteryInformation
(
DWORD
dwUserIndex
,
BYTE
deviceType
,
XINPUT_BATTERY_INFORMATION
*
pBatteryInfo
)
{
FIXME
(
"(%d %u %p) Stub!
\n
"
,
dwUserIndex
,
deviceType
,
pBatteryInfo
);
if
(
dwUserIndex
<
XUSER_MAX_COUNT
)
{
return
ERROR_DEVICE_NOT_CONNECTED
;
/* If controller exists then return ERROR_SUCCESS */
}
return
ERROR_BAD_ARGUMENTS
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment