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
66180389
Commit
66180389
authored
Jun 07, 2018
by
Fabian Maurer
Committed by
Alexandre Julliard
Jun 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add stub for GetPointerDevices.
Signed-off-by:
Fabian Maurer
<
dark.shadow4@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6b59f750
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
1 deletion
+40
-1
api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec
...ter-l1-1-0/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec
+1
-1
misc.c
dlls/user32/misc.c
+18
-0
user32.spec
dlls/user32/user32.spec
+1
-0
winuser.h
include/winuser.h
+20
-0
No files found.
dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.spec
View file @
66180389
...
...
@@ -4,7 +4,7 @@
@ stub GetPointerDevice
@ stub GetPointerDeviceProperties
@ stub GetPointerDeviceRects
@ st
ub
GetPointerDevices
@ st
dcall GetPointerDevices(ptr ptr) user32.
GetPointerDevices
@ stub GetPointerFrameInfo
@ stub GetPointerFrameInfoHistory
@ stub GetPointerFramePenInfo
...
...
dlls/user32/misc.c
View file @
66180389
...
...
@@ -846,6 +846,24 @@ BOOL WINAPI RegisterPointerDeviceNotifications(HWND hwnd, BOOL notifyrange)
return
TRUE
;
}
/**********************************************************************
* GetPointerDevices [USER32.@]
*/
BOOL
WINAPI
GetPointerDevices
(
UINT32
*
device_count
,
POINTER_DEVICE_INFO
*
devices
)
{
FIXME
(
"(%p %p): partial stub
\n
"
,
device_count
,
devices
);
if
(
!
device_count
)
return
FALSE
;
if
(
devices
)
return
FALSE
;
*
device_count
=
0
;
return
TRUE
;
}
static
const
WCHAR
imeW
[]
=
{
'I'
,
'M'
,
'E'
,
0
};
const
struct
builtin_class_descr
IME_builtin_class
=
{
...
...
dlls/user32/user32.spec
View file @
66180389
...
...
@@ -354,6 +354,7 @@
@ stdcall GetOpenClipboardWindow()
@ stdcall GetParent(long)
@ stdcall GetPhysicalCursorPos(ptr)
@ stdcall GetPointerDevices(ptr ptr)
@ stdcall GetPriorityClipboardFormat(ptr long)
@ stdcall GetProcessDefaultLayout(ptr)
@ stdcall GetProcessDpiAwarenessInternal(long ptr)
...
...
include/winuser.h
View file @
66180389
...
...
@@ -3357,6 +3357,26 @@ typedef struct tagGESTUREINFO {
}
GESTUREINFO
,
*
PGESTUREINFO
;
typedef
GESTUREINFO
const
*
PCGESTUREINFO
;
#define POINTER_DEVICE_PRODUCT_STRING_MAX 520
typedef
enum
tagPOINTER_DEVICE_TYPE
{
POINTER_DEVICE_TYPE_INTEGRATED_PEN
=
0x00000001
,
POINTER_DEVICE_TYPE_EXTERNAL_PEN
=
0x00000002
,
POINTER_DEVICE_TYPE_TOUCH
=
0x00000003
,
POINTER_DEVICE_TYPE_TOUCH_PAD
=
0x00000004
,
POINTER_DEVICE_TYPE_MAX
=
0xFFFFFFFF
}
POINTER_DEVICE_TYPE
;
typedef
struct
tagPOINTER_DEVICE_INFO
{
DWORD
displayOrientation
;
HANDLE
device
;
POINTER_DEVICE_TYPE
pointerDeviceType
;
HMONITOR
monitor
;
ULONG
startingCursorId
;
USHORT
maxActiveContacts
;
WCHAR
productString
[
POINTER_DEVICE_PRODUCT_STRING_MAX
];
}
POINTER_DEVICE_INFO
;
#if defined(_WINGDI_) && !defined(NOGDI)
WINUSERAPI
LONG
WINAPI
ChangeDisplaySettingsA
(
LPDEVMODEA
,
DWORD
);
WINUSERAPI
LONG
WINAPI
ChangeDisplaySettingsW
(
LPDEVMODEW
,
DWORD
);
...
...
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