Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
827a69f8
Commit
827a69f8
authored
May 16, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid referencing stackframe.h from outside kernel32.
parent
f3d99b26
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
27 deletions
+30
-27
stack.c
dlls/dbghelp/stack.c
+1
-1
winproc.c
dlls/user/winproc.c
+24
-21
wnd16.c
dlls/user/wnd16.c
+2
-2
stack.c
programs/winedbg/stack.c
+1
-1
relay.c
tools/winebuild/relay.c
+1
-1
spec16.c
tools/winebuild/spec16.c
+1
-1
No files found.
dlls/dbghelp/stack.c
View file @
827a69f8
...
...
@@ -32,8 +32,8 @@
#include "ntstatus.h"
#include "thread.h"
/* FIXME: must be included before winternl.h */
#include "winternl.h"
#include "wine/winbase16.h"
#include "wine/debug.h"
#include "stackframe.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
...
...
dlls/user/winproc.c
View file @
827a69f8
...
...
@@ -31,7 +31,6 @@
#include "wownt32.h"
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "stackframe.h"
#include "controls.h"
#include "win.h"
#include "winproc.h"
...
...
@@ -432,9 +431,17 @@ static LRESULT WINAPI WINPROC_CallWndProc16( WNDPROC16 proc, HWND16 hwnd,
LPARAM
lParam
)
{
CONTEXT86
context
;
LRESULT
ret
;
WORD
args
[
5
];
DWORD
offset
=
0
;
size_t
size
=
0
;
struct
{
WORD
params
[
5
];
union
{
CREATESTRUCT16
cs16
;
DRAWITEMSTRUCT16
dis16
;
COMPAREITEMSTRUCT16
cis16
;
}
u
;
}
args
;
USER_CheckNotLock
();
...
...
@@ -461,30 +468,26 @@ static LRESULT WINAPI WINPROC_CallWndProc16( WNDPROC16 proc, HWND16 hwnd,
{
case
WM_CREATE
:
case
WM_NCCREATE
:
offset
=
sizeof
(
CREATESTRUCT16
);
break
;
size
=
sizeof
(
CREATESTRUCT16
);
break
;
case
WM_DRAWITEM
:
offset
=
sizeof
(
DRAWITEMSTRUCT16
);
break
;
size
=
sizeof
(
DRAWITEMSTRUCT16
);
break
;
case
WM_COMPAREITEM
:
offset
=
sizeof
(
COMPAREITEMSTRUCT16
);
break
;
size
=
sizeof
(
COMPAREITEMSTRUCT16
);
break
;
}
if
(
offset
)
if
(
size
)
{
void
*
s
=
MapSL
(
lParam
);
lParam
=
stack16_push
(
offset
);
memcpy
(
MapSL
(
lParam
),
s
,
offset
);
memcpy
(
&
args
.
u
,
MapSL
(
lParam
),
size
);
lParam
=
(
SEGPTR
)
NtCurrentTeb
()
->
WOW32Reserved
-
size
;
}
}
args
[
4
]
=
hwnd
;
args
[
3
]
=
msg
;
args
[
2
]
=
wParam
;
args
[
1
]
=
HIWORD
(
lParam
);
args
[
0
]
=
LOWORD
(
lParam
);
WOWCallback16Ex
(
0
,
WCB16_REGS
,
sizeof
(
args
),
args
,
(
DWORD
*
)
&
context
);
ret
=
MAKELONG
(
LOWORD
(
context
.
Eax
),
LOWORD
(
context
.
Edx
)
);
if
(
offset
)
stack16_pop
(
offset
);
return
ret
;
args
.
params
[
4
]
=
hwnd
;
args
.
params
[
3
]
=
msg
;
args
.
params
[
2
]
=
wParam
;
args
.
params
[
1
]
=
HIWORD
(
lParam
);
args
.
params
[
0
]
=
LOWORD
(
lParam
);
WOWCallback16Ex
(
0
,
WCB16_REGS
,
sizeof
(
args
.
params
)
+
size
,
&
args
,
(
DWORD
*
)
&
context
);
return
MAKELONG
(
LOWORD
(
context
.
Eax
),
LOWORD
(
context
.
Edx
)
);
}
...
...
dlls/user/wnd16.c
View file @
827a69f8
...
...
@@ -22,7 +22,6 @@
#include "wownt32.h"
#include "win.h"
#include "winproc.h"
#include "stackframe.h"
#include "user_private.h"
/* handle <--> handle16 conversions */
...
...
@@ -357,7 +356,8 @@ HWND16 WINAPI GetParent16( HWND16 hwnd )
*/
BOOL16
WINAPI
IsWindow16
(
HWND16
hwnd
)
{
CURRENT_STACK16
->
es
=
USER_HeapSel
;
STACK16FRAME
*
frame
=
MapSL
(
(
SEGPTR
)
NtCurrentTeb
()
->
WOW32Reserved
);
frame
->
es
=
USER_HeapSel
;
/* don't use WIN_Handle32 here, we don't care about the full handle */
return
IsWindow
(
HWND_32
(
hwnd
)
);
}
...
...
programs/winedbg/stack.c
View file @
827a69f8
...
...
@@ -25,8 +25,8 @@
#include <stdlib.h>
#include "debugger.h"
#include "stackframe.h"
#include "winbase.h"
#include "wine/winbase16.h"
#include "wine/debug.h"
#include "tlhelp32.h"
...
...
tools/winebuild/relay.c
View file @
827a69f8
...
...
@@ -28,7 +28,7 @@
#include <ctype.h>
#include "thread.h"
#include "
stackframe
.h"
#include "
wine/winbase16
.h"
#include "build.h"
...
...
tools/winebuild/spec16.c
View file @
827a69f8
...
...
@@ -29,7 +29,7 @@
#include <ctype.h>
#include "wine/exception.h"
#include "
stackframe
.h"
#include "
wine/winbase16
.h"
#include "module.h"
#include "build.h"
...
...
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