Added .rc file support for Win16 NE modules.
[wine/multimedia.git] / dlls / display / display_main.c
blob4bc668ea4dd071680aaae08791c0f6e1549a1560
1 /*
2 * DISPLAY driver
4 * Copyright 1998 Ulrich Weigand
6 */
8 #include "debugtools.h"
9 #include "display.h"
10 #include "mouse.h"
11 #include "windef.h"
12 #include "message.h"
13 #include "wine/winuser16.h"
15 DEFAULT_DEBUG_CHANNEL(cursor)
17 /***********************************************************************
18 * DISPLAY_Inquire (DISPLAY.101)
20 WORD WINAPI DISPLAY_Inquire(LPCURSORINFO lpCursorInfo)
22 lpCursorInfo->wXMickeys = 1;
23 lpCursorInfo->wYMickeys = 1;
25 return sizeof(CURSORINFO);
28 /***********************************************************************
29 * DISPLAY_SetCursor (DISPLAY.102)
31 VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
33 MOUSE_Driver->pSetCursor(lpCursor);
36 /***********************************************************************
37 * DISPLAY_MoveCursor (DISPLAY.103)
39 VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
41 MOUSE_Driver->pMoveCursor(wAbsX, wAbsY);
44 /***********************************************************************
45 * DISPLAY_CheckCursor (DISPLAY.104)
47 VOID WINAPI DISPLAY_CheckCursor( void )
49 TRACE("stub\n" );
52 /***********************************************************************
53 * DISPLAY_GetDriverResourceID (DISPLAY.450)
55 * Used by USER to check if driver contains better version of a builtin
56 * resource than USER (yes, our DISPLAY does !).
57 * wQueriedResID is the ID USER asks about.
58 * lpsResName does often contain "OEMBIN".
60 DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
62 if (wQueriedResID == 3)
63 return (DWORD)1;
65 return (DWORD)wQueriedResID;
68 /***********************************************************************
69 * UserRepaintDisable (DISPLAY.500)
71 VOID WINAPI UserRepaintDisable16( BOOL16 disable )
73 EVENT_Driver->pUserRepaintDisable( disable );