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
f8db63bb
Commit
f8db63bb
authored
Feb 09, 1999
by
Paul Quinn
Committed by
Alexandre Julliard
Feb 09, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GetCursorPos is actually a BOOL.
parent
f4eb65b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
winuser16.h
include/wine/winuser16.h
+1
-1
winuser.h
include/winuser.h
+1
-1
cursoricon.c
objects/cursoricon.c
+8
-4
No files found.
include/wine/winuser16.h
View file @
f8db63bb
...
@@ -349,7 +349,7 @@ HWND16 WINAPI GetClipboardViewer16(void);
...
@@ -349,7 +349,7 @@ HWND16 WINAPI GetClipboardViewer16(void);
void
WINAPI
GetClipCursor16
(
LPRECT16
);
void
WINAPI
GetClipCursor16
(
LPRECT16
);
DWORD
WINAPI
GetCurrentTime16
(
void
);
DWORD
WINAPI
GetCurrentTime16
(
void
);
HCURSOR16
WINAPI
GetCursor16
(
void
);
HCURSOR16
WINAPI
GetCursor16
(
void
);
void
WINAPI
GetCursorPos16
(
LPPOINT16
);
BOOL16
WINAPI
GetCursorPos16
(
LPPOINT16
);
HDC16
WINAPI
GetDC16
(
HWND16
);
HDC16
WINAPI
GetDC16
(
HWND16
);
HDC16
WINAPI
GetDCEx16
(
HWND16
,
HRGN16
,
DWORD
);
HDC16
WINAPI
GetDCEx16
(
HWND16
,
HRGN16
,
DWORD
);
HWND16
WINAPI
GetDesktopWindow16
(
void
);
HWND16
WINAPI
GetDesktopWindow16
(
void
);
...
...
include/winuser.h
View file @
f8db63bb
...
@@ -1064,7 +1064,7 @@ void WINAPI GetClipCursor32(LPRECT32);
...
@@ -1064,7 +1064,7 @@ void WINAPI GetClipCursor32(LPRECT32);
#define GetCurrentTime WINELIB_NAME(GetCurrentTime)
#define GetCurrentTime WINELIB_NAME(GetCurrentTime)
HCURSOR32
WINAPI
GetCursor32
(
void
);
HCURSOR32
WINAPI
GetCursor32
(
void
);
#define GetCursor WINELIB_NAME(GetCursor)
#define GetCursor WINELIB_NAME(GetCursor)
void
WINAPI
GetCursorPos32
(
LPPOINT32
);
BOOL32
WINAPI
GetCursorPos32
(
LPPOINT32
);
#define GetCursorPos WINELIB_NAME(GetCursorPos)
#define GetCursorPos WINELIB_NAME(GetCursorPos)
HDC32
WINAPI
GetDC32
(
HWND32
);
HDC32
WINAPI
GetDC32
(
HWND32
);
#define GetDC WINELIB_NAME(GetDC)
#define GetDC WINELIB_NAME(GetDC)
...
...
objects/cursoricon.c
View file @
f8db63bb
...
@@ -1275,11 +1275,11 @@ BOOL32 WINAPI ClipCursor32( const RECT32 *rect )
...
@@ -1275,11 +1275,11 @@ BOOL32 WINAPI ClipCursor32( const RECT32 *rect )
/***********************************************************************
/***********************************************************************
* GetCursorPos16 (USER.17)
* GetCursorPos16 (USER.17)
*/
*/
void
WINAPI
GetCursorPos16
(
POINT16
*
pt
)
BOOL16
WINAPI
GetCursorPos16
(
POINT16
*
pt
)
{
{
DWORD
posX
,
posY
,
state
;
DWORD
posX
,
posY
,
state
;
if
(
!
pt
)
return
;
if
(
!
pt
)
return
0
;
if
(
!
EVENT_QueryPointer
(
&
posX
,
&
posY
,
&
state
))
if
(
!
EVENT_QueryPointer
(
&
posX
,
&
posY
,
&
state
))
pt
->
x
=
pt
->
y
=
0
;
pt
->
x
=
pt
->
y
=
0
;
else
else
...
@@ -1300,17 +1300,21 @@ void WINAPI GetCursorPos16( POINT16 *pt )
...
@@ -1300,17 +1300,21 @@ void WINAPI GetCursorPos16( POINT16 *pt )
MouseButtonsStates
[
2
]
=
FALSE
;
MouseButtonsStates
[
2
]
=
FALSE
;
}
}
TRACE
(
cursor
,
"ret=%d,%d
\n
"
,
pt
->
x
,
pt
->
y
);
TRACE
(
cursor
,
"ret=%d,%d
\n
"
,
pt
->
x
,
pt
->
y
);
return
1
;
}
}
/***********************************************************************
/***********************************************************************
* GetCursorPos32 (USER32.229)
* GetCursorPos32 (USER32.229)
*/
*/
void
WINAPI
GetCursorPos32
(
POINT32
*
pt
)
BOOL32
WINAPI
GetCursorPos32
(
POINT32
*
pt
)
{
{
BOOL32
ret
;
POINT16
pt16
;
POINT16
pt16
;
GetCursorPos16
(
&
pt16
);
ret
=
GetCursorPos16
(
&
pt16
);
if
(
pt
)
CONV_POINT16TO32
(
&
pt16
,
pt
);
if
(
pt
)
CONV_POINT16TO32
(
&
pt16
,
pt
);
return
((
pt
)
?
ret
:
0
);
}
}
...
...
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