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
e765bc1a
Commit
e765bc1a
authored
Aug 28, 2002
by
Per Nystrom
Committed by
Alexandre Julliard
Aug 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented GetCursorInfo.
parent
f98ed452
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
24 deletions
+45
-24
display.c
dlls/user/display.c
+3
-4
user32.spec
dlls/user/user32.spec
+1
-1
winuser.h
include/winuser.h
+30
-19
input.c
windows/input.c
+11
-0
No files found.
dlls/user/display.c
View file @
e765bc1a
...
...
@@ -30,18 +30,18 @@ typedef struct tagCURSORINFO
{
WORD
wXMickeys
;
WORD
wYMickeys
;
}
CURSORINFO
,
*
PCURSORINFO
,
*
LPCURSORINFO
;
}
CURSORINFO
16
,
*
PCURSORINFO16
,
*
LPCURSORINFO16
;
#include "poppack.h"
/***********************************************************************
* Inquire (DISPLAY.101)
*/
WORD
WINAPI
DISPLAY_Inquire
(
LPCURSORINFO
lpCursorInfo
)
WORD
WINAPI
DISPLAY_Inquire
(
LPCURSORINFO
16
lpCursorInfo
)
{
lpCursorInfo
->
wXMickeys
=
1
;
lpCursorInfo
->
wYMickeys
=
1
;
return
sizeof
(
CURSORINFO
);
return
sizeof
(
CURSORINFO
16
);
}
/***********************************************************************
...
...
@@ -91,4 +91,3 @@ VOID WINAPI UserRepaintDisable16( BOOL16 disable )
{
FIXME
(
"stub
\n
"
);
}
dlls/user/user32.spec
View file @
e765bc1a
...
...
@@ -229,7 +229,7 @@ init UserClientDllInitialize
@ stdcall GetClipboardOwner() GetClipboardOwner
@ stdcall GetClipboardViewer() GetClipboardViewer
@ stdcall GetCursor() GetCursor
@ st
ub
GetCursorInfo
@ st
dcall GetCursorInfo(ptr)
GetCursorInfo
@ stdcall GetCursorPos(ptr) GetCursorPos
@ stdcall GetDC(long) GetDC
@ stdcall GetDCEx(long long long) GetDCEx
...
...
include/winuser.h
View file @
e765bc1a
...
...
@@ -1799,6 +1799,16 @@ typedef struct {
}
ICONINFO
,
*
PICONINFO
;
typedef
struct
{
DWORD
cbSize
;
DWORD
flags
;
HCURSOR
hCursor
;
POINT
ptScreenPos
;
}
CURSORINFO
,
*
PCURSORINFO
,
*
LPCURSORINFO
;
#define CURSOR_SHOWING 0x00000001
/* this is the 6 byte accel struct used in Win32 when presented to the user */
typedef
struct
{
...
...
@@ -4019,28 +4029,29 @@ BOOL WINAPI GetClassInfoExW(HINSTANCE,LPCWSTR,WNDCLASSEXW *);
LONG
WINAPI
GetClassLongA
(
HWND
,
INT
);
LONG
WINAPI
GetClassLongW
(
HWND
,
INT
);
#define GetClassLong WINELIB_NAME_AW(GetClassLong)
INT
WINAPI
GetClassNameA
(
HWND
,
LPSTR
,
INT
);
INT
WINAPI
GetClassNameW
(
HWND
,
LPWSTR
,
INT
);
INT
WINAPI
GetClassNameA
(
HWND
,
LPSTR
,
INT
);
INT
WINAPI
GetClassNameW
(
HWND
,
LPWSTR
,
INT
);
#define GetClassName WINELIB_NAME_AW(GetClassName)
WORD
WINAPI
GetClassWord
(
HWND
,
INT
);
BOOL
WINAPI
GetClientRect
(
HWND
,
LPRECT
);
HANDLE
WINAPI
GetClipboardData
(
UINT
);
INT
WINAPI
GetClipboardFormatNameA
(
UINT
,
LPSTR
,
INT
);
INT
WINAPI
GetClipboardFormatNameW
(
UINT
,
LPWSTR
,
INT
);
BOOL
WINAPI
GetClientRect
(
HWND
,
LPRECT
);
HANDLE
WINAPI
GetClipboardData
(
UINT
);
INT
WINAPI
GetClipboardFormatNameA
(
UINT
,
LPSTR
,
INT
);
INT
WINAPI
GetClipboardFormatNameW
(
UINT
,
LPWSTR
,
INT
);
#define GetClipboardFormatName WINELIB_NAME_AW(GetClipboardFormatName)
HWND
WINAPI
GetClipboardOwner
(
void
);
HWND
WINAPI
GetClipboardViewer
(
void
);
BOOL
WINAPI
GetClipCursor
(
LPRECT
);
HCURSOR
WINAPI
GetCursor
(
void
);
BOOL
WINAPI
GetCursorPos
(
LPPOINT
);
HDC
WINAPI
GetDC
(
HWND
);
HDC
WINAPI
GetDCEx
(
HWND
,
HRGN
,
DWORD
);
HWND
WINAPI
GetDesktopWindow
(
void
);
INT
WINAPI
GetDlgCtrlID
(
HWND
);
HWND
WINAPI
GetDlgItem
(
HWND
,
INT
);
UINT
WINAPI
GetDlgItemInt
(
HWND
,
INT
,
BOOL
*
,
BOOL
);
INT
WINAPI
GetDlgItemTextA
(
HWND
,
INT
,
LPSTR
,
UINT
);
INT
WINAPI
GetDlgItemTextW
(
HWND
,
INT
,
LPWSTR
,
UINT
);
HWND
WINAPI
GetClipboardOwner
(
void
);
HWND
WINAPI
GetClipboardViewer
(
void
);
BOOL
WINAPI
GetClipCursor
(
LPRECT
);
HCURSOR
WINAPI
GetCursor
(
void
);
BOOL
WINAPI
GetCursorInfo
(
PCURSORINFO
);
BOOL
WINAPI
GetCursorPos
(
LPPOINT
);
HDC
WINAPI
GetDC
(
HWND
);
HDC
WINAPI
GetDCEx
(
HWND
,
HRGN
,
DWORD
);
HWND
WINAPI
GetDesktopWindow
(
void
);
INT
WINAPI
GetDlgCtrlID
(
HWND
);
HWND
WINAPI
GetDlgItem
(
HWND
,
INT
);
UINT
WINAPI
GetDlgItemInt
(
HWND
,
INT
,
BOOL
*
,
BOOL
);
INT
WINAPI
GetDlgItemTextA
(
HWND
,
INT
,
LPSTR
,
UINT
);
INT
WINAPI
GetDlgItemTextW
(
HWND
,
INT
,
LPWSTR
,
UINT
);
#define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
UINT
WINAPI
GetDoubleClickTime
(
void
);
HWND
WINAPI
GetFocus
(
void
);
...
...
windows/input.c
View file @
e765bc1a
...
...
@@ -477,6 +477,17 @@ BOOL WINAPI GetCursorPos( POINT *pt )
/***********************************************************************
* GetCursorInfo (USER32.@)
*/
BOOL
WINAPI
GetCursorInfo
(
PCURSORINFO
pci
)
{
if
(
!
pci
)
return
0
;
GetCursorPos
(
&
pci
->
ptScreenPos
);
return
1
;
}
/***********************************************************************
* SetCursorPos (USER.70)
*/
void
WINAPI
SetCursorPos16
(
INT16
x
,
INT16
y
)
...
...
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