Added stubs for AbortSystemShutdown[AW] and PrivilegeCheck.

This commit is contained in:
Leo van den Berg 2002-04-19 00:04:27 +00:00 committed by Alexandre Julliard
parent da2b2d6714
commit b611681c3f
3 changed files with 38 additions and 3 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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;
}