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 * DISPLAY_Inquire (DISPLAY.101)
26 WORD WINAPI
DISPLAY_Inquire(LPCURSORINFO lpCursorInfo
)
28 lpCursorInfo
->wXMickeys
= 1;
29 lpCursorInfo
->wYMickeys
= 1;
31 return sizeof(CURSORINFO
);
34 /***********************************************************************
35 * DISPLAY_SetCursor (DISPLAY.102)
37 VOID WINAPI
DISPLAY_SetCursor( struct tagCURSORICONINFO
*lpCursor
)
39 USER_Driver
.pSetCursor(lpCursor
);
42 /***********************************************************************
43 * DISPLAY_MoveCursor (DISPLAY.103)
45 VOID WINAPI
DISPLAY_MoveCursor( WORD wAbsX
, WORD wAbsY
)
47 USER_Driver
.pMoveCursor(wAbsX
, wAbsY
);
50 /***********************************************************************
51 * DISPLAY_CheckCursor (DISPLAY.104)
53 VOID WINAPI
DISPLAY_CheckCursor( void )
58 /***********************************************************************
59 * DISPLAY_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
)
79 USER_Driver
.pUserRepaintDisable( disable
);