From a6663e8573c310fb2ab3aee3be857c9d7b540387 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sun, 8 Nov 1998 12:24:02 +0000 Subject: [PATCH] Stubs for DISPLAY.DRV removed from keyboard.c. --- windows/display.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 windows/display.c diff --git a/windows/display.c b/windows/display.c new file mode 100644 index 00000000000..85b374b44ca --- /dev/null +++ b/windows/display.c @@ -0,0 +1,74 @@ +/* + * DISPLAY driver + * + * Copyright 1998 Ulrich Weigand + * + */ + +#include +#include +#include +#include "ts_xlib.h" +#include "ts_xresource.h" +#include "ts_xutil.h" + +#include "windows.h" +#include "win.h" +#include "gdi.h" +#include "heap.h" +#include "debug.h" +#include "debugtools.h" + + +/*********************************************************************** + * DisplayInquire (DISPLAY.101) + */ + +#pragma pack(1) +typedef struct _CURSORINFO +{ + WORD wXMickeys; + WORD wYMickeys; +} CURSORINFO; +#pragma pack(4) + +WORD WINAPI DisplayInquire(CURSORINFO *cursorInfo) +{ + cursorInfo->wXMickeys = 1; + cursorInfo->wYMickeys = 1; + + return sizeof(CURSORINFO); +} + +/*********************************************************************** + * DisplaySetCursor (DISPLAY.102) + */ +VOID WINAPI DisplaySetCursor( LPVOID cursorShape ) +{ + FIXME(keyboard, "(%p): stub\n", cursorShape ); +} + +/*********************************************************************** + * DisplayMoveCursor (DISPLAY.103) + */ +VOID WINAPI DisplayMoveCursor( WORD wAbsX, WORD wAbsY ) +{ + FIXME(keyboard, "(%d,%d): stub\n", wAbsX, wAbsY ); +} + +/*********************************************************************** + * DisplayCheckCursor (DISPLAY.104) + */ +VOID WINAPI DisplayCheckCursor() +{ + FIXME(keyboard, "stub\n"); +} + +/*********************************************************************** + * UserRepaintDisable (DISPLAY.103) + */ +VOID WINAPI UserRepaintDisable( BOOL16 disable ) +{ + FIXME(keyboard, "(%d): stub\n", disable); +} +