4 * Copyright 1998 Ulrich Weigand
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #include "wine/debug.h"
26 #include "user_private.h"
27 #include "wine/winuser16.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(cursor
);
32 typedef struct tagCURSORINFO16
36 } CURSORINFO16
, *PCURSORINFO16
, *LPCURSORINFO16
;
39 /***********************************************************************
40 * Inquire (DISPLAY.101)
42 WORD WINAPI
DISPLAY_Inquire(LPCURSORINFO16 lpCursorInfo
)
44 lpCursorInfo
->wXMickeys
= 1;
45 lpCursorInfo
->wYMickeys
= 1;
47 return sizeof(CURSORINFO16
);
50 /***********************************************************************
51 * SetCursor (DISPLAY.102)
53 VOID WINAPI
DISPLAY_SetCursor( struct tagCURSORICONINFO
*lpCursor
)
55 USER_Driver
->pSetCursor(lpCursor
);
58 /***********************************************************************
59 * MoveCursor (DISPLAY.103)
61 VOID WINAPI
DISPLAY_MoveCursor( WORD wAbsX
, WORD wAbsY
)
63 USER_Driver
->pSetCursorPos(wAbsX
, wAbsY
);
66 /***********************************************************************
67 * CheckCursor (DISPLAY.104)
69 VOID WINAPI
DISPLAY_CheckCursor( void )
74 /***********************************************************************
75 * GetDriverResourceID (DISPLAY.450)
77 * Used by USER to check if driver contains better version of a builtin
78 * resource than USER (yes, our DISPLAY does !).
79 * wQueriedResID is the ID USER asks about.
80 * lpsResName does often contain "OEMBIN".
82 DWORD WINAPI
DISPLAY_GetDriverResourceID( WORD wQueriedResID
, LPSTR lpsResName
)
84 if (wQueriedResID
== 3)
87 return (DWORD
)wQueriedResID
;
90 /***********************************************************************
91 * UserRepaintDisable (DISPLAY.500)
93 VOID WINAPI
UserRepaintDisable16( BOOL16 disable
)