ntoskrnl.exe: Add stub for PsImpersonateClient.

This commit is contained in:
Christian Costa 2012-10-02 00:10:38 +02:00 committed by Alexandre Julliard
parent 5c65471681
commit e3607c9858
2 changed files with 13 additions and 1 deletions

View File

@ -1659,6 +1659,18 @@ BOOLEAN WINAPI PsGetVersion(ULONG *major, ULONG *minor, ULONG *build, UNICODE_ST
}
/***********************************************************************
* PsImpersonateClient (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI PsImpersonateClient(PETHREAD Thread, PACCESS_TOKEN Token, BOOLEAN CopyOnOpen,
BOOLEAN EffectiveOnly, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
{
FIXME("(%p, %p, %u, %u, %u): stub\n", Thread, Token, CopyOnOpen, EffectiveOnly, ImpersonationLevel);
return STATUS_NOT_IMPLEMENTED;
}
/***********************************************************************
* PsSetCreateProcessNotifyRoutine (NTOSKRNL.EXE.@)
*/

View File

@ -885,7 +885,7 @@
@ stub PsGetThreadTeb
@ stub PsGetThreadWin32Thread
@ stdcall PsGetVersion(ptr ptr ptr ptr)
@ stub PsImpersonateClient
@ stdcall PsImpersonateClient(ptr ptr long long long)
@ stub PsInitialSystemProcess
@ stub PsIsProcessBeingDebugged
@ stub PsIsSystemThread