79 lines
2.0 KiB
C
79 lines
2.0 KiB
C
/*
|
|
* DISPLAY driver
|
|
*
|
|
* Copyright 1998 Ulrich Weigand
|
|
*
|
|
*/
|
|
|
|
#include "debugtools.h"
|
|
#include "display.h"
|
|
#include "mouse.h"
|
|
#include "windef.h"
|
|
#include "message.h"
|
|
#include "wine/winuser16.h"
|
|
|
|
DEFAULT_DEBUG_CHANNEL(cursor)
|
|
|
|
/***********************************************************************
|
|
* DISPLAY_Inquire (DISPLAY.101)
|
|
*/
|
|
WORD WINAPI DISPLAY_Inquire(LPCURSORINFO lpCursorInfo)
|
|
{
|
|
lpCursorInfo->wXMickeys = 1;
|
|
lpCursorInfo->wYMickeys = 1;
|
|
|
|
return sizeof(CURSORINFO);
|
|
}
|
|
|
|
/***********************************************************************
|
|
* DISPLAY_SetCursor (DISPLAY.102)
|
|
*/
|
|
VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
|
|
{
|
|
MOUSE_Driver->pSetCursor(lpCursor);
|
|
}
|
|
|
|
/***********************************************************************
|
|
* DISPLAY_MoveCursor (DISPLAY.103)
|
|
*/
|
|
VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
|
|
{
|
|
MOUSE_Driver->pMoveCursor(wAbsX, wAbsY);
|
|
}
|
|
|
|
/***********************************************************************
|
|
* DISPLAY_CheckCursor (DISPLAY.104)
|
|
*/
|
|
VOID WINAPI DISPLAY_CheckCursor( void )
|
|
{
|
|
TRACE("stub\n" );
|
|
}
|
|
|
|
/***********************************************************************
|
|
* DISPLAY_GetDriverResourceID (DISPLAY.450)
|
|
*
|
|
* Used by USER to check if driver contains better version of a builtin
|
|
* resource than USER.
|
|
* wQueriedResID is the ID USER asks about.
|
|
* lpsResName might often contain "OEMBIN".
|
|
* For now we just let USER use its own resource.
|
|
*/
|
|
DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
|
|
{
|
|
FIXME("Return the display resource ID\n" );
|
|
|
|
if (wQueriedResID == 3)
|
|
return (DWORD)wQueriedResID/*FIXME resourceID*/;
|
|
|
|
return (DWORD)wQueriedResID;
|
|
}
|
|
|
|
/***********************************************************************
|
|
* UserRepaintDisable (DISPLAY.500)
|
|
*/
|
|
VOID WINAPI UserRepaintDisable16( BOOL16 disable )
|
|
{
|
|
EVENT_Driver->pUserRepaintDisable( disable );
|
|
}
|
|
|