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
a251a8f1
Commit
a251a8f1
authored
Sep 02, 2008
by
Jeff Latimer
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Deregister the class created by create_dde_window.
parent
31ba88d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
dde.c
dlls/user32/tests/dde.c
+8
-2
No files found.
dlls/user32/tests/dde.c
View file @
a251a8f1
...
...
@@ -73,6 +73,12 @@ static void create_dde_window(HWND *hwnd, LPCSTR name, WNDPROC wndproc)
assert
(
*
hwnd
);
}
static
void
destroy_dde_window
(
HWND
*
hwnd
,
LPCSTR
name
)
{
DestroyWindow
(
*
hwnd
);
UnregisterClass
(
name
,
GetModuleHandleA
(
0
));
}
static
LRESULT
WINAPI
dde_server_wndproc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
UINT_PTR
lo
,
hi
;
...
...
@@ -243,7 +249,7 @@ static void test_msg_server(HANDLE hproc, HANDLE hthread)
while
(
PeekMessage
(
&
msg
,
0
,
0
,
0
,
PM_REMOVE
))
DispatchMessageA
(
&
msg
);
}
DestroyWindow
(
hwnd
);
destroy_dde_window
(
&
hwnd
,
"dde_server"
);
GetExitCodeProcess
(
hproc
,
&
res
);
ok
(
!
res
,
"client failed with %u error(s)
\n
"
,
res
);
}
...
...
@@ -1107,7 +1113,7 @@ static void test_msg_client()
flush_events
();
DestroyWindow
(
client_hwnd
);
destroy_dde_window
(
&
client_hwnd
,
"dde_client"
);
}
static
LRESULT
WINAPI
hook_dde_client_wndproc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
...
...
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