Commit b611681c authored by Leo van den Berg's avatar Leo van den Berg Committed by Alexandre Julliard

Added stubs for AbortSystemShutdown[AW] and PrivilegeCheck.

parent da2b2d67
......@@ -88,3 +88,27 @@ GetUserNameW( LPWSTR lpszName, LPDWORD lpSize )
HeapFree( GetProcessHeap(), 0, name );
return res;
}
/******************************************************************************
* AbortSystemShutdownA [ADVAPI32.@]
*
* PARAMS
* lpMachineName
*/
BOOL WINAPI AbortSystemShutdownA( LPSTR lpMachineName )
{
TRACE("stub %s (harmless)\n", lpMachineName);
return TRUE;
}
/******************************************************************************
* AbortSystemShutdownW [ADVAPI32.@]
*
* PARAMS
* lpMachineName
*/
BOOL WINAPI AbortSystemShutdownW( LPCWSTR lpMachineName )
{
TRACE("stub %s (harmless)\n", debugstr_w(lpMachineName));
return TRUE;
}
......@@ -6,8 +6,8 @@ import ntdll.dll
debug_channels (advapi crypt reg)
@ stub AbortSystemShutdownA
@ stub AbortSystemShutdownW
@ stdcall AbortSystemShutdownA(ptr) AbortSystemShutdownA
@ stdcall AbortSystemShutdownW(ptr) AbortSystemShutdownW
@ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) AccessCheck
@ stub AccessCheckAndAuditAlarmA
@ stub AccessCheckAndAuditAlarmW
......@@ -166,7 +166,7 @@ debug_channels (advapi crypt reg)
@ stdcall OpenServiceA(long str long) OpenServiceA
@ stdcall OpenServiceW(long wstr long) OpenServiceW
@ stdcall OpenThreadToken(long long long ptr) OpenThreadToken
@ stub PrivilegeCheck
@ stdcall PrivilegeCheck(ptr ptr ptr) PrivilegeCheck
@ stub PrivilegedServiceAuditAlarmA
@ stub PrivilegedServiceAuditAlarmW
@ stub QueryServiceConfigA
......
......@@ -970,3 +970,14 @@ BOOL WINAPI GetAce(PACL pAcl,DWORD dwAceIndex,LPVOID *pAce )
{
CallWin32ToNt(RtlGetAce(pAcl, dwAceIndex, pAce));
}
/******************************************************************************
* PrivilegeCheck [ADVAPI32.@]
*/
BOOL WINAPI PrivilegeCheck( HANDLE ClientToken, PPRIVILEGE_SET RequiredPrivileges, LPBOOL pfResult)
{
FIXME("stub %d %p %p\n", ClientToken, RequiredPrivileges, pfResult);
if (pfResult)
*pfResult=TRUE;
return TRUE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment