4 * Copyright 1998 Ulrich Weigand
8 #include "debugtools.h"
11 #include "wine/winuser16.h"
13 DEFAULT_DEBUG_CHANNEL(cursor);
16 typedef struct tagCURSORINFO
20 } CURSORINFO, *PCURSORINFO, *LPCURSORINFO;
23 /***********************************************************************
24 * Inquire (DISPLAY.101)
26 WORD WINAPI DISPLAY_Inquire(LPCURSORINFO lpCursorInfo)
28 lpCursorInfo->wXMickeys = 1;
29 lpCursorInfo->wYMickeys = 1;
31 return sizeof(CURSORINFO);
34 /***********************************************************************
35 * SetCursor (DISPLAY.102)
37 VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
39 USER_Driver.pSetCursor(lpCursor);
42 /***********************************************************************
43 * MoveCursor (DISPLAY.103)
45 VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
47 USER_Driver.pSetCursorPos(wAbsX, wAbsY);
50 /***********************************************************************
51 * CheckCursor (DISPLAY.104)
53 VOID WINAPI DISPLAY_CheckCursor( void )
58 /***********************************************************************
59 * GetDriverResourceID (DISPLAY.450)
61 * Used by USER to check if driver contains better version of a builtin
62 * resource than USER (yes, our DISPLAY does !).
63 * wQueriedResID is the ID USER asks about.
64 * lpsResName does often contain "OEMBIN".
66 DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
68 if (wQueriedResID == 3)
71 return (DWORD)wQueriedResID;
74 /***********************************************************************
75 * UserRepaintDisable (DISPLAY.500)
77 VOID WINAPI UserRepaintDisable16( BOOL16 disable )