mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
apps/tests/tokentest.c
* Fix stupidity that prevented tokentest from compiling svn path=/trunk/; revision=3114
This commit is contained in:
parent
941ae04aa2
commit
57c8a1c6e3
1 changed files with 1 additions and 1 deletions
|
@ -488,10 +488,10 @@ main(int argc, char** argv[])
|
|||
NTSTATUS Status;
|
||||
HANDLE hSystemToken;
|
||||
CHAR buffer[512];
|
||||
HANDLE hOurToken;
|
||||
|
||||
printf("Current process Token:\n");
|
||||
|
||||
HANDLE hOurToken;
|
||||
Status=ZwOpenProcessToken(GetCurrentProcess(), TOKEN_QUERY|TOKEN_QUERY_SOURCE, &hOurToken);
|
||||
if ( NT_SUCCESS(Status) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue