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
9dafa1fc
Commit
9dafa1fc
authored
Apr 25, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: CreateRemoteThread is not implemented on win98.
parent
0a202679
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
thread.c
dlls/kernel32/tests/thread.c
+7
-0
No files found.
dlls/kernel32/tests/thread.c
View file @
9dafa1fc
...
@@ -241,8 +241,14 @@ static VOID test_CreateRemoteThread(void)
...
@@ -241,8 +241,14 @@ static VOID test_CreateRemoteThread(void)
ok
(
ret
!=
0
,
"DuplicateHandle failed, err=%u
\n
"
,
GetLastError
());
ok
(
ret
!=
0
,
"DuplicateHandle failed, err=%u
\n
"
,
GetLastError
());
/* create suspended remote thread with entry point SetEvent() */
/* create suspended remote thread with entry point SetEvent() */
SetLastError
(
0xdeadbeef
);
hThread
=
CreateRemoteThread
(
hProcess
,
NULL
,
0
,
threadFunc_SetEvent
,
hThread
=
CreateRemoteThread
(
hProcess
,
NULL
,
0
,
threadFunc_SetEvent
,
hRemoteEvent
,
CREATE_SUSPENDED
,
&
tid
);
hRemoteEvent
,
CREATE_SUSPENDED
,
&
tid
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"CreateRemoteThread is not implemented
\n
"
);
goto
cleanup
;
}
ok
(
hThread
!=
NULL
,
"CreateRemoteThread failed, err=%u
\n
"
,
GetLastError
());
ok
(
hThread
!=
NULL
,
"CreateRemoteThread failed, err=%u
\n
"
,
GetLastError
());
ok
(
tid
!=
0
,
"null tid
\n
"
);
ok
(
tid
!=
0
,
"null tid
\n
"
);
ret
=
SuspendThread
(
hThread
);
ret
=
SuspendThread
(
hThread
);
...
@@ -291,6 +297,7 @@ static VOID test_CreateRemoteThread(void)
...
@@ -291,6 +297,7 @@ static VOID test_CreateRemoteThread(void)
if
(
ret
)
ok
(
exitcode
==
0
,
"SetEvent succeeded, expected to fail
\n
"
);
if
(
ret
)
ok
(
exitcode
==
0
,
"SetEvent succeeded, expected to fail
\n
"
);
CloseHandle
(
hThread
);
CloseHandle
(
hThread
);
cleanup:
TerminateProcess
(
hProcess
,
0
);
TerminateProcess
(
hProcess
,
0
);
CloseHandle
(
hEvent
);
CloseHandle
(
hEvent
);
CloseHandle
(
hProcess
);
CloseHandle
(
hProcess
);
...
...
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