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
df715e5a
Commit
df715e5a
authored
Jan 31, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Make it possible to create windows for redirected classes.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6fd9a98f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
class.c
dlls/user32/class.c
+1
-1
user_private.h
dlls/user32/user_private.h
+2
-0
win.c
dlls/user32/win.c
+5
-2
No files found.
dlls/user32/class.c
View file @
df715e5a
...
@@ -325,7 +325,7 @@ static void CLASS_FreeClass( CLASS *classPtr )
...
@@ -325,7 +325,7 @@ static void CLASS_FreeClass( CLASS *classPtr )
USER_Unlock
();
USER_Unlock
();
}
}
static
const
WCHAR
*
CLASS_GetVersionedName
(
const
WCHAR
*
name
)
const
WCHAR
*
CLASS_GetVersionedName
(
const
WCHAR
*
name
)
{
{
ACTCTX_SECTION_KEYED_DATA
data
;
ACTCTX_SECTION_KEYED_DATA
data
;
struct
wndclass_redirect_data
struct
wndclass_redirect_data
...
...
dlls/user32/user_private.h
View file @
df715e5a
...
@@ -269,6 +269,8 @@ extern INT_PTR WINPROC_CallDlgProcW( DLGPROC func, HWND hwnd, UINT msg, WPARAM w
...
@@ -269,6 +269,8 @@ extern INT_PTR WINPROC_CallDlgProcW( DLGPROC func, HWND hwnd, UINT msg, WPARAM w
extern
BOOL
WINPROC_call_window
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
extern
BOOL
WINPROC_call_window
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
result
,
BOOL
unicode
,
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
LRESULT
*
result
,
BOOL
unicode
,
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
extern
const
WCHAR
*
CLASS_GetVersionedName
(
const
WCHAR
*
classname
)
DECLSPEC_HIDDEN
;
/* message spy definitions */
/* message spy definitions */
#define SPY_DISPATCHMESSAGE 0x0100
#define SPY_DISPATCHMESSAGE 0x0100
...
...
dlls/user32/win.c
View file @
df715e5a
...
@@ -1333,13 +1333,16 @@ HWND WIN_CreateWindowEx( CREATESTRUCTW *cs, LPCWSTR className, HINSTANCE module,
...
@@ -1333,13 +1333,16 @@ HWND WIN_CreateWindowEx( CREATESTRUCTW *cs, LPCWSTR className, HINSTANCE module,
RECT
rect
;
RECT
rect
;
WND
*
wndPtr
;
WND
*
wndPtr
;
HWND
hwnd
,
parent
,
owner
,
top_child
=
0
;
HWND
hwnd
,
parent
,
owner
,
top_child
=
0
;
const
WCHAR
*
p
=
className
;
MDICREATESTRUCTW
mdi_cs
;
MDICREATESTRUCTW
mdi_cs
;
CBT_CREATEWNDW
cbtc
;
CBT_CREATEWNDW
cbtc
;
CREATESTRUCTW
cbcs
;
CREATESTRUCTW
cbcs
;
TRACE
(
"%s %s ex=%08x style=%08x %d,%d %dx%d parent=%p menu=%p inst=%p params=%p
\n
"
,
className
=
CLASS_GetVersionedName
(
className
);
TRACE
(
"%s %s%s%s ex=%08x style=%08x %d,%d %dx%d parent=%p menu=%p inst=%p params=%p
\n
"
,
unicode
?
debugstr_w
(
cs
->
lpszName
)
:
debugstr_a
((
LPCSTR
)
cs
->
lpszName
),
unicode
?
debugstr_w
(
cs
->
lpszName
)
:
debugstr_a
((
LPCSTR
)
cs
->
lpszName
),
debugstr_w
(
className
)
,
debugstr_w
(
p
),
p
!=
className
?
"->"
:
""
,
p
!=
className
?
debugstr_w
(
className
)
:
""
,
cs
->
dwExStyle
,
cs
->
style
,
cs
->
x
,
cs
->
y
,
cs
->
cx
,
cs
->
cy
,
cs
->
dwExStyle
,
cs
->
style
,
cs
->
x
,
cs
->
y
,
cs
->
cx
,
cs
->
cy
,
cs
->
hwndParent
,
cs
->
hMenu
,
cs
->
hInstance
,
cs
->
lpCreateParams
);
cs
->
hwndParent
,
cs
->
hMenu
,
cs
->
hInstance
,
cs
->
lpCreateParams
);
if
(
TRACE_ON
(
win
))
dump_window_styles
(
cs
->
style
,
cs
->
dwExStyle
);
if
(
TRACE_ON
(
win
))
dump_window_styles
(
cs
->
style
,
cs
->
dwExStyle
);
...
...
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