1998-11-08 13:24:02 +01:00
|
|
|
/*
|
|
|
|
* DISPLAY driver
|
|
|
|
*
|
|
|
|
* Copyright 1998 Ulrich Weigand
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
1999-07-04 18:02:24 +02:00
|
|
|
#include "debugtools.h"
|
1999-03-14 17:35:05 +01:00
|
|
|
#include "windef.h"
|
2000-03-20 19:21:19 +01:00
|
|
|
#include "user.h"
|
1999-04-01 10:16:08 +02:00
|
|
|
#include "wine/winuser16.h"
|
1998-11-08 13:24:02 +01:00
|
|
|
|
2000-03-20 19:21:19 +01:00
|
|
|
DEFAULT_DEBUG_CHANNEL(cursor);
|
1999-04-19 16:56:29 +02:00
|
|
|
|
2000-06-03 06:20:19 +02:00
|
|
|
#include "pshpack1.h"
|
|
|
|
typedef struct tagCURSORINFO
|
|
|
|
{
|
|
|
|
WORD wXMickeys;
|
|
|
|
WORD wYMickeys;
|
|
|
|
} CURSORINFO, *PCURSORINFO, *LPCURSORINFO;
|
|
|
|
#include "poppack.h"
|
|
|
|
|
1998-11-08 13:24:02 +01:00
|
|
|
/***********************************************************************
|
1998-11-14 19:57:47 +01:00
|
|
|
* DISPLAY_Inquire (DISPLAY.101)
|
1998-11-08 13:24:02 +01:00
|
|
|
*/
|
1998-11-14 19:57:47 +01:00
|
|
|
WORD WINAPI DISPLAY_Inquire(LPCURSORINFO lpCursorInfo)
|
1998-11-08 13:24:02 +01:00
|
|
|
{
|
1998-11-14 19:57:47 +01:00
|
|
|
lpCursorInfo->wXMickeys = 1;
|
|
|
|
lpCursorInfo->wYMickeys = 1;
|
1998-11-08 13:24:02 +01:00
|
|
|
|
1998-11-14 19:57:47 +01:00
|
|
|
return sizeof(CURSORINFO);
|
|
|
|
}
|
|
|
|
|
1998-11-08 13:24:02 +01:00
|
|
|
/***********************************************************************
|
1998-11-14 19:57:47 +01:00
|
|
|
* DISPLAY_SetCursor (DISPLAY.102)
|
1998-11-08 13:24:02 +01:00
|
|
|
*/
|
1999-05-08 14:40:24 +02:00
|
|
|
VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
|
1998-11-08 13:24:02 +01:00
|
|
|
{
|
2000-08-10 03:16:19 +02:00
|
|
|
USER_Driver.pSetCursor(lpCursor);
|
1998-11-08 13:24:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
1998-11-14 19:57:47 +01:00
|
|
|
* DISPLAY_MoveCursor (DISPLAY.103)
|
1998-11-08 13:24:02 +01:00
|
|
|
*/
|
1998-11-14 19:57:47 +01:00
|
|
|
VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
|
1998-11-08 13:24:02 +01:00
|
|
|
{
|
2000-08-10 03:16:19 +02:00
|
|
|
USER_Driver.pMoveCursor(wAbsX, wAbsY);
|
1998-11-08 13:24:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
1998-11-14 19:57:47 +01:00
|
|
|
* DISPLAY_CheckCursor (DISPLAY.104)
|
1998-11-08 13:24:02 +01:00
|
|
|
*/
|
1999-06-26 16:58:24 +02:00
|
|
|
VOID WINAPI DISPLAY_CheckCursor( void )
|
1998-11-08 13:24:02 +01:00
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
TRACE("stub\n" );
|
1998-11-08 13:24:02 +01:00
|
|
|
}
|
|
|
|
|
1999-11-21 03:01:07 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* DISPLAY_GetDriverResourceID (DISPLAY.450)
|
|
|
|
*
|
|
|
|
* Used by USER to check if driver contains better version of a builtin
|
1999-12-06 02:20:00 +01:00
|
|
|
* resource than USER (yes, our DISPLAY does !).
|
1999-11-21 03:01:07 +01:00
|
|
|
* wQueriedResID is the ID USER asks about.
|
1999-12-06 02:20:00 +01:00
|
|
|
* lpsResName does often contain "OEMBIN".
|
1999-11-21 03:01:07 +01:00
|
|
|
*/
|
|
|
|
DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
|
|
|
|
{
|
|
|
|
if (wQueriedResID == 3)
|
1999-12-06 02:20:00 +01:00
|
|
|
return (DWORD)1;
|
1999-11-21 03:01:07 +01:00
|
|
|
|
|
|
|
return (DWORD)wQueriedResID;
|
|
|
|
}
|
|
|
|
|
1998-11-08 13:24:02 +01:00
|
|
|
/***********************************************************************
|
1998-11-14 19:57:47 +01:00
|
|
|
* UserRepaintDisable (DISPLAY.500)
|
1998-11-08 13:24:02 +01:00
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
VOID WINAPI UserRepaintDisable16( BOOL16 disable )
|
1998-11-08 13:24:02 +01:00
|
|
|
{
|
2001-05-16 21:52:29 +02:00
|
|
|
FIXME("stub\n");
|
1998-11-08 13:24:02 +01:00
|
|
|
}
|
1999-05-22 21:02:04 +02:00
|
|
|
|