Changed LoadImage16 to take an LPCSTR instead of a SEGPTR.
[wine.git] / dlls / user / display.c
blob822174a13f3860443fedb531d5b0d1f0f7a685f7
1 /*
2 * DISPLAY driver
4 * Copyright 1998 Ulrich Weigand
6 */
8 #include "debugtools.h"
9 #include "windef.h"
10 #include "user.h"
11 #include "wine/winuser16.h"
13 DEFAULT_DEBUG_CHANNEL(cursor);
15 #include "pshpack1.h"
16 typedef struct tagCURSORINFO
18 WORD wXMickeys;
19 WORD wYMickeys;
20 } CURSORINFO, *PCURSORINFO, *LPCURSORINFO;
21 #include "poppack.h"
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 )
55 TRACE("stub\n" );
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)
69 return (DWORD)1;
71 return (DWORD)wQueriedResID;
74 /***********************************************************************
75 * UserRepaintDisable (DISPLAY.500)
77 VOID WINAPI UserRepaintDisable16( BOOL16 disable )
79 USER_Driver.pUserRepaintDisable( disable );