Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
09ddb591
Commit
09ddb591
authored
Aug 03, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make USER and GDI separate dlls.
parent
ae50941a
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
64 additions
and
23 deletions
+64
-23
Makefile.in
Makefile.in
+2
-16
.cvsignore
dlls/gdi/.cvsignore
+1
-0
Makefile.in
dlls/gdi/Makefile.in
+19
-1
printdrv.c
dlls/gdi/printdrv.c
+0
-0
toolhelp.spec
dlls/kernel/toolhelp.spec
+5
-2
Makefile.in
dlls/user/Makefile.in
+11
-0
Makefile.in
misc/Makefile.in
+0
-3
int09.c
msdos/int09.c
+5
-1
int16.c
msdos/int16.c
+2
-0
thread.c
scheduler/thread.c
+5
-0
console.c
win32/console.c
+14
-0
No files found.
Makefile.in
View file @
09ddb591
...
...
@@ -39,16 +39,11 @@ LIBRARIES = \
# Sub-directories to run make depend/clean into
SUBDIRS
=
\
console
\
controls
\
debugger
\
dlls
\
dlls/ntdll
\
documentation
\
files
\
graphics
\
graphics/enhmetafiledrv
\
graphics/metafiledrv
\
graphics/win16drv
\
if1632
\
include
\
library
\
...
...
@@ -60,7 +55,6 @@ SUBDIRS = \
misc
\
miscemu
\
msdos
\
objects
\
ole
\
programs
\
relay32
\
...
...
@@ -69,8 +63,7 @@ SUBDIRS = \
server
\
tools
\
unicode
\
win32
\
windows
win32
# Sub-directories to run make install into
INSTALLSUBDIRS
=
\
...
...
@@ -83,14 +76,9 @@ INSTALLSUBDIRS = \
unicode
LIBOBJS
=
\
controls/controls.o
\
console/console.o
\
dlls/ntdll/ntdll.o
\
files/files.o
\
graphics/graphics.o
\
graphics/enhmetafiledrv/enhmetafiledrv.o
\
graphics/metafiledrv/metafiledrv.o
\
graphics/win16drv/win16drv.o
\
if1632/if1632.o
\
loader/loader.o
\
loader/ne/ne.o
\
...
...
@@ -98,13 +86,11 @@ LIBOBJS = \
memory/memory.o
\
misc/misc.o
\
msdos/msdos.o
\
objects/objects.o
\
ole/ole.o
\
relay32/relay32.o
\
resources/resources.o
\
scheduler/scheduler.o
\
win32/win32.o
\
windows/windows.o
win32/win32.o
EMUOBJS
=
\
miscemu/miscemu.o
...
...
dlls/gdi/.cvsignore
View file @
09ddb591
...
...
@@ -2,4 +2,5 @@
*.spec.glue.s
Makefile
libgdi32.so.1.0
printdrv.glue.c
thunk.glue.c
dlls/gdi/Makefile.in
View file @
09ddb591
...
...
@@ -9,12 +9,30 @@ ALTNAMES = gdi dispdib wing
C_SRCS
=
\
bidi16.c
\
gdi_main.c
\
printdrv.c
\
thunk.c
\
wing.c
GLUE
=
thunk.c
GLUE
=
printdrv.c thunk.c
EXTRA_OBJS
=
\
$(TOPOBJDIR)
/graphics/graphics.o
\
$(TOPOBJDIR)
/graphics/enhmetafiledrv/enhmetafiledrv.o
\
$(TOPOBJDIR)
/graphics/metafiledrv/metafiledrv.o
\
$(TOPOBJDIR)
/graphics/win16drv/win16drv.o
\
$(TOPOBJDIR)
/objects/objects.o
SUBDIRS
=
\
$(TOPOBJDIR)
/graphics
\
$(TOPOBJDIR)
/graphics/enhmetafiledrv
\
$(TOPOBJDIR)
/graphics/metafiledrv
\
$(TOPOBJDIR)
/graphics/win16drv
\
$(TOPOBJDIR)
/objects
@MAKE_DLL_RULES@
$(EXTRA_OBJS)
:
$(TOOLSUBDIRS) dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
`
basename
$@
`
### Dependencies:
misc
/printdrv.c
→
dlls/gdi
/printdrv.c
View file @
09ddb591
File moved
dlls/kernel/toolhelp.spec
View file @
09ddb591
...
...
@@ -21,8 +21,11 @@ owner kernel32
66 pascal16 StackTraceFirst(ptr word) StackTraceFirst16
67 pascal16 StackTraceCSIPFirst(ptr word word word word) StackTraceCSIPFirst16
68 pascal16 StackTraceNext(ptr) StackTraceNext16
69 pascal16 ClassFirst(ptr) ClassFirst16
70 pascal16 ClassNext(ptr) ClassNext16
#69 pascal16 ClassFirst(ptr) ClassFirst16
#70 pascal16 ClassNext(ptr) ClassNext16
#FIXME: window classes are USER objects
69 stub ClassFirst
70 stub ClassNext
71 pascal16 SystemHeapInfo(ptr) SystemHeapInfo16
72 pascal16 MemManInfo(ptr) MemManInfo16
73 pascal16 NotifyRegister(word segptr word) NotifyRegister16
...
...
dlls/user/Makefile.in
View file @
09ddb591
...
...
@@ -24,7 +24,18 @@ RC_SRCS = \
GLUE
=
thunk.c
EXTRA_OBJS
=
\
$(TOPOBJDIR)
/controls/controls.o
\
$(TOPOBJDIR)
/windows/windows.o
SUBDIRS
=
\
$(TOPOBJDIR)
/controls
\
$(TOPOBJDIR)
/windows
@MAKE_DLL_RULES@
$(EXTRA_OBJS)
:
$(TOOLSUBDIRS) dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
`
basename
$@
`
### Dependencies:
misc/Makefile.in
View file @
09ddb591
...
...
@@ -17,15 +17,12 @@ C_SRCS = \
main.c
\
options.c
\
port.c
\
printdrv.c
\
registry.c
\
system.c
\
tweak.c
\
version.c
\
wsprintf.c
GLUE
=
printdrv.c
all
:
$(MODULE).o
@MAKE_RULES@
...
...
msdos/int09.c
View file @
09ddb591
...
...
@@ -28,7 +28,6 @@ typedef struct {
void
WINAPI
INT_Int09Handler
(
CONTEXT86
*
context
)
{
BYTE
ascii
,
scan
=
INT_Int09ReadScan
(
&
ascii
);
UINT
vkey
=
MapVirtualKeyA
(
scan
&
0x7f
,
1
);
BYTE
ch
[
2
];
int
cnt
,
c2
;
...
...
@@ -39,8 +38,13 @@ void WINAPI INT_Int09Handler( CONTEXT86 *context )
ch
[
0
]
=
ascii
;
cnt
=
1
;
}
else
{
#if 0 /* FIXME: cannot call USER functions here */
UINT vkey = MapVirtualKeyA(scan&0x7f, 1);
/* as in TranslateMessage, windows/input.c */
cnt = ToAscii(vkey, scan, QueueKeyStateTable, (LPWORD)ch, 0);
#else
cnt
=
0
;
#endif
}
if
(
cnt
>
0
)
{
for
(
c2
=
0
;
c2
<
cnt
;
c2
++
)
...
...
msdos/int16.c
View file @
09ddb591
...
...
@@ -58,6 +58,7 @@ void WINAPI INT_Int16Handler( CONTEXT86 *context )
case
0x02
:
/* Get Shift Flags */
AL_reg
(
context
)
=
0
;
#if 0 /* FIXME: cannot call USER functions here */
if (GetAsyncKeyState(VK_RSHIFT))
AL_reg(context) |= 0x01;
if (GetAsyncKeyState(VK_LSHIFT))
...
...
@@ -74,6 +75,7 @@ void WINAPI INT_Int16Handler( CONTEXT86 *context )
AL_reg(context) |= 0x40;
if (GetAsyncKeyState(VK_INSERT))
AL_reg(context) |= 0x80;
#endif
TRACE
(
"Get Shift Flags: returning 0x%02x
\n
"
,
AL_reg
(
context
));
break
;
...
...
scheduler/thread.c
View file @
09ddb591
...
...
@@ -765,6 +765,7 @@ BOOL WINAPI AttachThreadInput(
DWORD
idAttachTo
,
/* [in] Thread to attach to */
BOOL
fAttach
)
/* [in] Attach or detach */
{
#if 0 /* FIXME: cannot call USER functions here */
MESSAGEQUEUE *pSrcMsgQ = 0, *pTgtMsgQ = 0;
BOOL16 bRet = 0;
...
...
@@ -829,6 +830,10 @@ CLEANUP:
QUEUE_Unlock( pTgtMsgQ );
return bRet;
#endif
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
FIXME
(
"broken for now
\n
"
);
return
FALSE
;
}
/**********************************************************************
...
...
win32/console.c
View file @
09ddb591
...
...
@@ -97,6 +97,7 @@ CONSOLE_string_to_IR( HANDLE hConsoleInput,unsigned char *buf,int len) {
ir
.
Event
.
KeyEvent
.
dwControlKeyState
|=
LEFT_ALT_PRESSED
;
inchar
&=
~
0x80
;
}
#if 0 /* FIXME: cannot call USER functions here */
ir.Event.KeyEvent.wVirtualKeyCode = VkKeyScan16(inchar);
if (ir.Event.KeyEvent.wVirtualKeyCode & 0x0100)
ir.Event.KeyEvent.dwControlKeyState|=SHIFT_PRESSED;
...
...
@@ -108,6 +109,10 @@ CONSOLE_string_to_IR( HANDLE hConsoleInput,unsigned char *buf,int len) {
ir.Event.KeyEvent.wVirtualKeyCode & 0x00ff,
0 /* VirtualKeyCodes to ScanCode */
);
#else
ir
.
Event
.
KeyEvent
.
wVirtualKeyCode
=
0
;
ir
.
Event
.
KeyEvent
.
wVirtualScanCode
=
0
;
#endif
ir
.
Event
.
KeyEvent
.
uChar
.
AsciiChar
=
inchar
;
if
((
inchar
==
127
)
||
(
inchar
==
'\b'
))
{
/* backspace */
...
...
@@ -140,10 +145,15 @@ CONSOLE_string_to_IR( HANDLE hConsoleInput,unsigned char *buf,int len) {
ir
.
Event
.
KeyEvent
.
bKeyDown
=
1
;
ir
.
Event
.
KeyEvent
.
wRepeatCount
=
0
;
#if 0 /* FIXME: cannot call USER functions here */
ir.Event.KeyEvent.wVirtualKeyCode = VkKeyScan16(27);
ir.Event.KeyEvent.wVirtualScanCode = MapVirtualKey16(
ir.Event.KeyEvent.wVirtualKeyCode,0
);
#else
ir
.
Event
.
KeyEvent
.
wVirtualKeyCode
=
VK_ESCAPE
;
ir
.
Event
.
KeyEvent
.
wVirtualScanCode
=
1
;
#endif
ir
.
Event
.
KeyEvent
.
dwControlKeyState
=
0
;
ir
.
Event
.
KeyEvent
.
uChar
.
AsciiChar
=
27
;
assert
(
WriteConsoleInputA
(
hConsoleInput
,
&
ir
,
1
,
&
junk
));
...
...
@@ -225,7 +235,11 @@ CONSOLE_string_to_IR( HANDLE hConsoleInput,unsigned char *buf,int len) {
}
if
(
scancode
)
{
ir
.
Event
.
KeyEvent
.
wVirtualScanCode
=
scancode
;
#if 0 /* FIXME: cannot call USER functions here */
ir.Event.KeyEvent.wVirtualKeyCode = MapVirtualKey16(scancode,1);
#else
ir
.
Event
.
KeyEvent
.
wVirtualKeyCode
=
0
;
#endif
assert
(
WriteConsoleInputA
(
hConsoleInput
,
&
ir
,
1
,
&
junk
));
ir
.
Event
.
KeyEvent
.
bKeyDown
=
0
;
assert
(
WriteConsoleInputA
(
hConsoleInput
,
&
ir
,
1
,
&
junk
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment