Added ImpersonateLoggedOnUser stub.

This commit is contained in:
Huw D M Davies 2002-04-03 19:53:31 +00:00 committed by Alexandre Julliard
parent 766957317a
commit c48f3b07ae
3 changed files with 14 additions and 4 deletions

View File

@ -117,7 +117,7 @@ debug_channels (advapi crypt reg)
@ stdcall GetTokenInformation(long long ptr long ptr) GetTokenInformation
@ stdcall GetUserNameA(ptr ptr) GetUserNameA
@ stdcall GetUserNameW(ptr ptr) GetUserNameW
@ stub ImpersonateLoggedOnUser
@ stdcall ImpersonateLoggedOnUser(long) ImpersonateLoggedOnUser
@ stub ImpersonateNamedPipeClient
@ stdcall ImpersonateSelf(long) ImpersonateSelf
@ stdcall InitializeAcl(ptr long long) InitializeAcl

View File

@ -894,6 +894,15 @@ ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
return RtlImpersonateSelf(ImpersonationLevel);
}
/******************************************************************************
* ImpersonateLoggedOnUser [ADVAPI32.@]
*/
BOOL WINAPI ImpersonateLoggedOnUser(HANDLE hToken)
{
FIXME("(%08x):stub returning FALSE\n", hToken);
return FALSE;
}
/******************************************************************************
* AccessCheck [ADVAPI32.@]
*

View File

@ -1303,6 +1303,7 @@ BOOL WINAPI InitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE);
BOOL WINAPI IsTextUnicode(CONST LPVOID lpBuffer, int cb, LPINT lpi);
BOOL WINAPI IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
BOOL WINAPI IsValidSid(PSID);
BOOL WINAPI ImpersonateLoggedOnUser(HANDLE);
BOOL WINAPI ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
BOOL WINAPI IsProcessorFeaturePresent(DWORD);
BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);