Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
690df819
Commit
690df819
authored
Oct 21, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Implement GetRawInputDeviceInfoA().
parent
c490fb37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
input.c
dlls/user32/input.c
+9
-3
No files found.
dlls/user32/input.c
View file @
690df819
...
...
@@ -606,11 +606,17 @@ UINT WINAPI DECLSPEC_HOTPATCH GetRawInputBuffer(PRAWINPUT pData, PUINT pcbSize,
/******************************************************************
* GetRawInputDeviceInfoA (USER32.@)
*/
UINT
WINAPI
GetRawInputDeviceInfoA
(
HANDLE
hDevice
,
UINT
uiCommand
,
LPVOID
pData
,
PUINT
pcbS
ize
)
UINT
WINAPI
GetRawInputDeviceInfoA
(
HANDLE
device
,
UINT
command
,
void
*
data
,
UINT
*
data_s
ize
)
{
FIXME
(
"(hDevice=%p, uiCommand=%d, pData=%p, pcbSize=%p) stub!
\n
"
,
hDevice
,
uiCommand
,
pData
,
pcbSize
)
;
UINT
ret
;
return
0
;
TRACE
(
"device %p, command %u, data %p, data_size %p.
\n
"
,
device
,
command
,
data
,
data_size
);
ret
=
GetRawInputDeviceInfoW
(
device
,
command
,
data
,
data_size
);
if
(
command
==
RIDI_DEVICENAME
&&
ret
&&
ret
!=
~
0U
)
ret
=
WideCharToMultiByte
(
CP_ACP
,
0
,
data
,
-
1
,
data
,
*
data_size
,
NULL
,
NULL
);
return
ret
;
}
...
...
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