user32: Make display.drv into a stand-alone 16-bit module.
This commit is contained in:
parent
86f54f4c89
commit
02ada6e477
|
@ -31,7 +31,6 @@ dlls/compobj.dll16
|
||||||
dlls/ctl3d.dll16
|
dlls/ctl3d.dll16
|
||||||
dlls/ctl3dv2.dll16
|
dlls/ctl3dv2.dll16
|
||||||
dlls/ddeml.dll16
|
dlls/ddeml.dll16
|
||||||
dlls/display.drv16
|
|
||||||
dlls/gdi.exe16
|
dlls/gdi.exe16
|
||||||
dlls/imm.dll16
|
dlls/imm.dll16
|
||||||
dlls/jscript/jsglobal.tlb
|
dlls/jscript/jsglobal.tlb
|
||||||
|
|
|
@ -3903,6 +3903,7 @@ then
|
||||||
WIN16_INSTALL=""
|
WIN16_INSTALL=""
|
||||||
enable_comm_drv16=${enable_comm_drv16:-no}
|
enable_comm_drv16=${enable_comm_drv16:-no}
|
||||||
enable_dispdib_dll16=${enable_dispdib_dll16:-no}
|
enable_dispdib_dll16=${enable_dispdib_dll16:-no}
|
||||||
|
enable_display_drv16=${enable_display_drv16:-no}
|
||||||
enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
|
enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
|
||||||
enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
|
enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
|
||||||
enable_monodebg_vxd=${enable_monodebg_vxd:-no}
|
enable_monodebg_vxd=${enable_monodebg_vxd:-no}
|
||||||
|
@ -25031,6 +25032,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
|
||||||
dlls/dispdib.dll16/Makefile: dlls/dispdib.dll16/Makefile.in dlls/Makedll.rules"
|
dlls/dispdib.dll16/Makefile: dlls/dispdib.dll16/Makefile.in dlls/Makedll.rules"
|
||||||
ac_config_files="$ac_config_files dlls/dispdib.dll16/Makefile"
|
ac_config_files="$ac_config_files dlls/dispdib.dll16/Makefile"
|
||||||
|
|
||||||
|
ALL_MAKEFILES="$ALL_MAKEFILES \\
|
||||||
|
dlls/display.drv16/Makefile"
|
||||||
|
test "x$enable_display_drv16" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
|
||||||
|
display.drv16"
|
||||||
|
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
|
||||||
|
dlls/display.drv16/Makefile: dlls/display.drv16/Makefile.in dlls/Makedll.rules"
|
||||||
|
ac_config_files="$ac_config_files dlls/display.drv16/Makefile"
|
||||||
|
|
||||||
ALL_MAKEFILES="$ALL_MAKEFILES \\
|
ALL_MAKEFILES="$ALL_MAKEFILES \\
|
||||||
dlls/dmband/Makefile"
|
dlls/dmband/Makefile"
|
||||||
test "x$enable_dmband" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
|
test "x$enable_dmband" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
|
||||||
|
@ -28774,6 +28783,7 @@ do
|
||||||
"dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
|
"dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
|
||||||
"dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
|
"dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
|
||||||
"dlls/dispdib.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dispdib.dll16/Makefile" ;;
|
"dlls/dispdib.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dispdib.dll16/Makefile" ;;
|
||||||
|
"dlls/display.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/display.drv16/Makefile" ;;
|
||||||
"dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
|
"dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
|
||||||
"dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
|
"dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
|
||||||
"dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
|
"dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
|
||||||
|
|
|
@ -140,6 +140,7 @@ then
|
||||||
WIN16_INSTALL=""
|
WIN16_INSTALL=""
|
||||||
enable_comm_drv16=${enable_comm_drv16:-no}
|
enable_comm_drv16=${enable_comm_drv16:-no}
|
||||||
enable_dispdib_dll16=${enable_dispdib_dll16:-no}
|
enable_dispdib_dll16=${enable_dispdib_dll16:-no}
|
||||||
|
enable_display_drv16=${enable_display_drv16:-no}
|
||||||
enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
|
enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
|
||||||
enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
|
enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
|
||||||
enable_monodebg_vxd=${enable_monodebg_vxd:-no}
|
enable_monodebg_vxd=${enable_monodebg_vxd:-no}
|
||||||
|
@ -1964,6 +1965,7 @@ WINE_CONFIG_MAKEFILE([dlls/dinput/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL
|
||||||
WINE_CONFIG_MAKEFILE([dlls/dinput/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
|
WINE_CONFIG_MAKEFILE([dlls/dinput/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
|
||||||
WINE_CONFIG_MAKEFILE([dlls/dinput8/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
WINE_CONFIG_MAKEFILE([dlls/dinput8/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||||
WINE_CONFIG_MAKEFILE([dlls/dispdib.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
WINE_CONFIG_MAKEFILE([dlls/dispdib.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||||
|
WINE_CONFIG_MAKEFILE([dlls/display.drv16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||||
WINE_CONFIG_MAKEFILE([dlls/dmband/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
WINE_CONFIG_MAKEFILE([dlls/dmband/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||||
WINE_CONFIG_MAKEFILE([dlls/dmcompos/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
WINE_CONFIG_MAKEFILE([dlls/dmcompos/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||||
WINE_CONFIG_MAKEFILE([dlls/dmime/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
WINE_CONFIG_MAKEFILE([dlls/dmime/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||||
|
|
|
@ -24,7 +24,6 @@ WIN16_FILES = \
|
||||||
ctl3d.dll16 \
|
ctl3d.dll16 \
|
||||||
ctl3dv2.dll16 \
|
ctl3dv2.dll16 \
|
||||||
ddeml.dll16 \
|
ddeml.dll16 \
|
||||||
display.drv16 \
|
|
||||||
gdi.exe16 \
|
gdi.exe16 \
|
||||||
imm.dll16 \
|
imm.dll16 \
|
||||||
keyboard.drv16 \
|
keyboard.drv16 \
|
||||||
|
@ -122,7 +121,7 @@ shell.dll16:
|
||||||
twain.dll16:
|
twain.dll16:
|
||||||
echo "twain_32.dll" >$@
|
echo "twain_32.dll" >$@
|
||||||
|
|
||||||
ddeml.dll16 display.drv16 keyboard.drv16 mouse.drv16 user.exe16:
|
ddeml.dll16 keyboard.drv16 mouse.drv16 user.exe16:
|
||||||
echo "user32.dll" >$@
|
echo "user32.dll" >$@
|
||||||
|
|
||||||
ver.dll16:
|
ver.dll16:
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
TOPSRCDIR = @top_srcdir@
|
||||||
|
TOPOBJDIR = ../..
|
||||||
|
SRCDIR = @srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
MODULE = display.drv16
|
||||||
|
IMPORTS = user32 kernel32
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -Wb,--subsystem,win16
|
||||||
|
EXTRARCFLAGS = -O res16
|
||||||
|
|
||||||
|
SPEC_SRCS = display.drv16.spec
|
||||||
|
|
||||||
|
C_SRCS = display.c
|
||||||
|
|
||||||
|
RC_SRCS = display.rc
|
||||||
|
|
||||||
|
@MAKE_DLL_RULES@
|
||||||
|
|
||||||
|
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
|
@ -23,7 +23,6 @@
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "user_private.h"
|
|
||||||
#include "wine/winuser16.h"
|
#include "wine/winuser16.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(cursor);
|
WINE_DEFAULT_DEBUG_CHANNEL(cursor);
|
||||||
|
@ -39,7 +38,7 @@ typedef struct tagCURSORINFO16
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* Inquire (DISPLAY.101)
|
* Inquire (DISPLAY.101)
|
||||||
*/
|
*/
|
||||||
WORD WINAPI DISPLAY_Inquire(LPCURSORINFO16 lpCursorInfo)
|
WORD WINAPI Inquire16(LPCURSORINFO16 lpCursorInfo)
|
||||||
{
|
{
|
||||||
lpCursorInfo->wXMickeys = 1;
|
lpCursorInfo->wXMickeys = 1;
|
||||||
lpCursorInfo->wYMickeys = 1;
|
lpCursorInfo->wYMickeys = 1;
|
||||||
|
@ -52,21 +51,21 @@ WORD WINAPI DISPLAY_Inquire(LPCURSORINFO16 lpCursorInfo)
|
||||||
*/
|
*/
|
||||||
VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
|
VOID WINAPI DISPLAY_SetCursor( struct tagCURSORICONINFO *lpCursor )
|
||||||
{
|
{
|
||||||
USER_Driver->pSetCursor(lpCursor);
|
FIXME("stub\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* MoveCursor (DISPLAY.103)
|
* MoveCursor (DISPLAY.103)
|
||||||
*/
|
*/
|
||||||
VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
|
VOID WINAPI MoveCursor16( WORD wAbsX, WORD wAbsY )
|
||||||
{
|
{
|
||||||
USER_Driver->pSetCursorPos(wAbsX, wAbsY);
|
SetCursorPos( wAbsX, wAbsY );
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* CheckCursor (DISPLAY.104)
|
* CheckCursor (DISPLAY.104)
|
||||||
*/
|
*/
|
||||||
VOID WINAPI DISPLAY_CheckCursor( void )
|
VOID WINAPI CheckCursor16( void )
|
||||||
{
|
{
|
||||||
TRACE("stub\n" );
|
TRACE("stub\n" );
|
||||||
}
|
}
|
||||||
|
@ -79,7 +78,7 @@ VOID WINAPI DISPLAY_CheckCursor( void )
|
||||||
* wQueriedResID is the ID USER asks about.
|
* wQueriedResID is the ID USER asks about.
|
||||||
* lpsResName does often contain "OEMBIN".
|
* lpsResName does often contain "OEMBIN".
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI DISPLAY_GetDriverResourceID( WORD wQueriedResID, LPSTR lpsResName )
|
DWORD WINAPI GetDriverResourceID16( WORD wQueriedResID, LPSTR lpsResName )
|
||||||
{
|
{
|
||||||
if (wQueriedResID == 3)
|
if (wQueriedResID == 3)
|
||||||
return (DWORD)1;
|
return (DWORD)1;
|
|
@ -40,15 +40,15 @@
|
||||||
90 stub Do_Polylines
|
90 stub Do_Polylines
|
||||||
91 stub Do_Scanlines
|
91 stub Do_Scanlines
|
||||||
92 stub SaveScreenBitmap
|
92 stub SaveScreenBitmap
|
||||||
101 pascal -ret16 Inquire(ptr) DISPLAY_Inquire
|
101 pascal -ret16 Inquire(ptr) Inquire16
|
||||||
102 pascal -ret16 SetCursor(ptr) DISPLAY_SetCursor
|
102 pascal -ret16 SetCursor(ptr) DISPLAY_SetCursor
|
||||||
103 pascal -ret16 MoveCursor(word word) DISPLAY_MoveCursor
|
103 pascal -ret16 MoveCursor(word word) MoveCursor16
|
||||||
104 pascal -ret16 CheckCursor() DISPLAY_CheckCursor
|
104 pascal -ret16 CheckCursor() CheckCursor16
|
||||||
400 stub PExtTextOut
|
400 stub PExtTextOut
|
||||||
401 stub PStrBlt
|
401 stub PStrBlt
|
||||||
402 stub RExtTextOut
|
402 stub RExtTextOut
|
||||||
403 stub RStrBlt
|
403 stub RStrBlt
|
||||||
450 pascal GetDriverResourceID(word str) DISPLAY_GetDriverResourceID
|
450 pascal GetDriverResourceID(word str) GetDriverResourceID16
|
||||||
500 pascal -ret16 UserRepaintDisable(word) UserRepaintDisable16
|
500 pascal -ret16 UserRepaintDisable(word) UserRepaintDisable16
|
||||||
501 stub ORDINAL_ONLY1
|
501 stub ORDINAL_ONLY1
|
||||||
502 stub ORDINAL_ONLY2
|
502 stub ORDINAL_ONLY2
|
|
@ -53,5 +53,5 @@
|
||||||
0x00000000L /* inactive caption text */
|
0x00000000L /* inactive caption text */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @makedep: resources/oic_hand.ico */
|
/* @makedep: oic_hand.ico */
|
||||||
1 ICON resources/oic_hand.ico
|
1 ICON oic_hand.ico
|
Binary file not shown.
After Width: | Height: | Size: 766 B |
|
@ -10,7 +10,6 @@ DELAYIMPORTS = imm32
|
||||||
|
|
||||||
SPEC_SRCS16 = \
|
SPEC_SRCS16 = \
|
||||||
ddeml.spec \
|
ddeml.spec \
|
||||||
display.drv.spec \
|
|
||||||
keyboard.drv.spec \
|
keyboard.drv.spec \
|
||||||
mouse.drv.spec \
|
mouse.drv.spec \
|
||||||
user.exe.spec
|
user.exe.spec
|
||||||
|
@ -68,7 +67,6 @@ C_SRCS = \
|
||||||
C_SRCS16 = \
|
C_SRCS16 = \
|
||||||
bidi16.c \
|
bidi16.c \
|
||||||
comm16.c \
|
comm16.c \
|
||||||
display.c \
|
|
||||||
hook16.c \
|
hook16.c \
|
||||||
kbd16.c \
|
kbd16.c \
|
||||||
mouse16.c \
|
mouse16.c \
|
||||||
|
@ -81,7 +79,6 @@ RC_SRCS = resources/user32.rc
|
||||||
SVG_SRCS = resources/oic_winlogo.svg
|
SVG_SRCS = resources/oic_winlogo.svg
|
||||||
|
|
||||||
RC_SRCS16 = \
|
RC_SRCS16 = \
|
||||||
resources/display.rc \
|
|
||||||
resources/mouse.rc \
|
resources/mouse.rc \
|
||||||
resources/version16.rc
|
resources/version16.rc
|
||||||
|
|
||||||
|
@ -94,15 +91,9 @@ EXTRASUBDIRS = resources
|
||||||
user.exe.spec.o: user.exe.spec resources/version16.res
|
user.exe.spec.o: user.exe.spec resources/version16.res
|
||||||
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
|
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
|
||||||
|
|
||||||
display.drv.spec.o: display.drv.spec resources/display.res
|
|
||||||
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/display.res --export $(SRCDIR)/display.drv.spec
|
|
||||||
|
|
||||||
mouse.drv.spec.o: mouse.drv.spec resources/mouse.res
|
mouse.drv.spec.o: mouse.drv.spec resources/mouse.res
|
||||||
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/mouse.res --export $(SRCDIR)/mouse.drv.spec
|
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/mouse.res --export $(SRCDIR)/mouse.drv.spec
|
||||||
|
|
||||||
resources/display.res: resources/display.rc
|
|
||||||
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
|
|
||||||
|
|
||||||
resources/mouse.res: resources/mouse.rc
|
resources/mouse.res: resources/mouse.rc
|
||||||
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
|
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue