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
bfec2a66
Commit
bfec2a66
authored
Jul 28, 2022
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix compilation with PSDK.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a43da376
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
om.c
dlls/ntdll/tests/om.c
+5
-5
No files found.
dlls/ntdll/tests/om.c
View file @
bfec2a66
...
...
@@ -2078,7 +2078,7 @@ static void test_token(void)
status
=
pNtOpenThreadToken
(
GetCurrentThread
(),
TOKEN_ALL_ACCESS
,
TRUE
,
(
HANDLE
*
)
0xdeadbee0
);
ok
(
status
==
STATUS_ACCESS_VIOLATION
,
"NtOpenProcessToken failed: %lx
\n
"
,
status
);
handle
=
(
HANDLE
)
0xdeadbeef
;
status
=
NtOpenProcessToken
(
(
HANDLE
)
0xdead
,
TOKEN_ALL_ACCESS
,
&
handle
);
status
=
p
NtOpenProcessToken
(
(
HANDLE
)
0xdead
,
TOKEN_ALL_ACCESS
,
&
handle
);
ok
(
status
==
STATUS_INVALID_HANDLE
,
"NtOpenProcessToken failed: %lx
\n
"
,
status
);
ok
(
!
handle
||
broken
(
handle
==
(
HANDLE
)
0xdeadbeef
)
/* vista */
,
"handle set %p
\n
"
,
handle
);
handle
=
(
HANDLE
)
0xdeadbeef
;
...
...
@@ -2526,7 +2526,7 @@ static void test_query_directory(void)
RtlInitUnicodeString
(
&
string
,
L"
\\
BaseNamedObjects
\\
winetest"
);
InitializeObjectAttributes
(
&
attr
,
&
string
,
0
,
0
,
NULL
);
status
=
NtCreateDirectoryObject
(
&
dir
,
DIRECTORY_QUERY
,
&
attr
);
status
=
p
NtCreateDirectoryObject
(
&
dir
,
DIRECTORY_QUERY
,
&
attr
);
ok
(
!
status
,
"got %#lx
\n
"
,
status
);
context
=
0xdeadbeef
;
...
...
@@ -2717,9 +2717,9 @@ static void test_query_directory(void)
ok
(
!
memcmp
(
&
info
[
1
],
&
empty_info
,
sizeof
(
*
info
)
),
"entry was not cleared
\n
"
);
}
NtClose
(
child1
);
NtClose
(
child2
);
NtClose
(
dir
);
p
NtClose
(
child1
);
p
NtClose
(
child2
);
p
NtClose
(
dir
);
}
START_TEST
(
om
)
...
...
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