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
7b156bf1
Commit
7b156bf1
authored
May 22, 2006
by
Saulius Krasuckas
Committed by
Alexandre Julliard
May 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Skip token attribute testing if OpenProcessToken() is not implemented.
parent
18af8547
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
security.c
dlls/advapi32/tests/security.c
+10
-3
No files found.
dlls/advapi32/tests/security.c
View file @
7b156bf1
...
...
@@ -703,11 +703,18 @@ static void test_token_attr(void)
TOKEN_GROUPS
*
Groups
;
TOKEN_USER
*
User
;
BOOL
ret
;
DWORD
i
;
LP
T
STR
SidString
;
DWORD
i
,
GLE
;
LPSTR
SidString
;
ret
=
OpenProcessToken
(
GetCurrentProcess
(),
TOKEN_QUERY
,
&
Token
);
ok
(
ret
,
"OpenProcessToken failed with error %ld
\n
"
,
GetLastError
());
GLE
=
GetLastError
();
ok
(
ret
||
(
GLE
==
ERROR_CALL_NOT_IMPLEMENTED
),
"OpenProcessToken failed with error %ld
\n
"
,
GLE
);
if
(
!
ret
&&
(
GLE
==
ERROR_CALL_NOT_IMPLEMENTED
))
{
trace
(
"OpenProcessToken() not implemented, skipping test_token_attr()
\n
"
);
return
;
}
/* groups */
ret
=
GetTokenInformation
(
Token
,
TokenGroups
,
NULL
,
0
,
&
Size
);
...
...
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