Implement PrivilegeCheck.

This commit is contained in:
Robert Shearman 2005-04-22 21:17:42 +00:00 committed by Alexandre Julliard
parent d2ea92d14e
commit 1408169387
1 changed files with 9 additions and 4 deletions

View File

@ -1958,10 +1958,15 @@ BOOL WINAPI LookupAccountNameW( LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSI
*/ */
BOOL WINAPI PrivilegeCheck( HANDLE ClientToken, PPRIVILEGE_SET RequiredPrivileges, LPBOOL pfResult) BOOL WINAPI PrivilegeCheck( HANDLE ClientToken, PPRIVILEGE_SET RequiredPrivileges, LPBOOL pfResult)
{ {
FIXME("stub %p %p %p\n", ClientToken, RequiredPrivileges, pfResult); BOOL ret;
if (pfResult) BOOLEAN Result;
*pfResult=TRUE;
return TRUE; TRACE("%p %p %p\n", ClientToken, RequiredPrivileges, pfResult);
ret = set_ntstatus (NtPrivilegeCheck (ClientToken, RequiredPrivileges, &Result));
if (ret)
*pfResult = Result;
return ret;
} }
/****************************************************************************** /******************************************************************************