display.c 2.65 KB
Newer Older
1 2 3 4 5
/*
 * DISPLAY driver
 *
 * Copyright 1998 Ulrich Weigand
 *
6 7 8 9 10 11 12 13 14 15 16 17
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 20
 */

21 22
#include <stdarg.h>

23
#include "wine/debug.h"
24
#include "windef.h"
25
#include "winbase.h"
26
#include "wine/winuser16.h"
27

28
WINE_DEFAULT_DEBUG_CHANNEL(cursor);
29

30
#include "pshpack1.h"
31
typedef struct tagCURSORINFO16
32 33 34
{
    WORD wXMickeys;
    WORD wYMickeys;
Per Nystrom's avatar
Per Nystrom committed
35
} CURSORINFO16, *PCURSORINFO16, *LPCURSORINFO16;
36 37
#include "poppack.h"

38
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
39
 *           Inquire			(DISPLAY.101)
40
 */
41
WORD WINAPI Inquire16(LPCURSORINFO16 lpCursorInfo)
42
{
43 44
    lpCursorInfo->wXMickeys = 1;
    lpCursorInfo->wYMickeys = 1;
45

Per Nystrom's avatar
Per Nystrom committed
46
    return sizeof(CURSORINFO16);
47 48
}

49
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
50
 *           SetCursor			(DISPLAY.102)
51
 */
52
VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
53
{
54
    FIXME("stub\n" );
55 56 57
}

/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
58
 *           MoveCursor			(DISPLAY.103)
59
 */
60
VOID WINAPI MoveCursor16( WORD wAbsX, WORD wAbsY )
61
{
62
    SetCursorPos( wAbsX, wAbsY );
63 64 65
}

/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
66
 *           CheckCursor                  (DISPLAY.104)
67
 */
68
VOID WINAPI CheckCursor16( void )
69
{
70
    TRACE("stub\n" );
71 72
}

73
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
74
 *           GetDriverResourceID                  (DISPLAY.450)
75 76
 *
 * Used by USER to check if driver contains better version of a builtin
77
 * resource than USER (yes, our DISPLAY does !).
78
 * wQueriedResID is the ID USER asks about.
79
 * lpsResName does often contain "OEMBIN".
80
 */
81
DWORD WINAPI GetDriverResourceID16( WORD wQueriedResID, LPSTR lpsResName )
82 83
{
	if (wQueriedResID == 3)
84
		return (DWORD)1;
85 86 87 88

	return (DWORD)wQueriedResID;
}

89
/***********************************************************************
90
 *           UserRepaintDisable			(DISPLAY.500)
91
 */
92
VOID WINAPI UserRepaintDisable16( BOOL16 disable )
93
{
94
    FIXME("stub\n");
95
}