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
ee3147f4
Commit
ee3147f4
authored
Jun 09, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Jun 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Save threadid from CreateThread as required by winme/98/95.
parent
37deec74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
shlexec.c
dlls/shell32/tests/shlexec.c
+4
-2
No files found.
dlls/shell32/tests/shlexec.c
View file @
ee3147f4
...
...
@@ -1144,6 +1144,7 @@ static void test_dde(void)
dde_thread_info_t
info
=
{
filename
,
GetCurrentThreadId
()
};
const
dde_tests_t
*
test
;
char
params
[
1024
];
DWORD
threadId
;
MSG
msg
;
int
rc
;
...
...
@@ -1173,7 +1174,7 @@ static void test_dde(void)
denyNextConnection
=
TRUE
;
ddeExec
[
0
]
=
0
;
assert
(
CreateThread
(
NULL
,
0
,
ddeThread
,
(
LPVOID
)
&
info
,
0
,
NULL
));
assert
(
CreateThread
(
NULL
,
0
,
ddeThread
,
(
LPVOID
)
&
info
,
0
,
&
threadId
));
while
(
GetMessage
(
&
msg
,
NULL
,
0
,
0
))
DispatchMessage
(
&
msg
);
rc
=
msg
.
wParam
>
32
?
33
:
msg
.
wParam
;
if
((
test
->
todo
&
0x1
)
==
0
)
...
...
@@ -1284,6 +1285,7 @@ static void test_dde_default_app(void)
dde_thread_info_t
info
=
{
filename
,
GetCurrentThreadId
()
};
const
dde_default_app_tests_t
*
test
;
char
params
[
1024
];
DWORD
threadId
;
MSG
msg
;
int
rc
;
...
...
@@ -1316,7 +1318,7 @@ static void test_dde_default_app(void)
* so don't wait for it */
SetEvent
(
hEvent
);
assert
(
CreateThread
(
NULL
,
0
,
ddeThread
,
(
LPVOID
)
&
info
,
0
,
NULL
));
assert
(
CreateThread
(
NULL
,
0
,
ddeThread
,
(
LPVOID
)
&
info
,
0
,
&
threadId
));
while
(
GetMessage
(
&
msg
,
NULL
,
0
,
0
))
DispatchMessage
(
&
msg
);
rc
=
msg
.
wParam
>
32
?
33
:
msg
.
wParam
;
if
((
test
->
todo
&
0x1
)
==
0
)
...
...
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