Added stubs for AbortSystemShutdown[AW] and PrivilegeCheck.
This commit is contained in:
parent
da2b2d6714
commit
b611681c3f
|
@ -88,3 +88,27 @@ GetUserNameW( LPWSTR lpszName, LPDWORD lpSize )
|
||||||
HeapFree( GetProcessHeap(), 0, name );
|
HeapFree( GetProcessHeap(), 0, name );
|
||||||
return res;
|
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)
|
debug_channels (advapi crypt reg)
|
||||||
|
|
||||||
@ stub AbortSystemShutdownA
|
@ stdcall AbortSystemShutdownA(ptr) AbortSystemShutdownA
|
||||||
@ stub AbortSystemShutdownW
|
@ stdcall AbortSystemShutdownW(ptr) AbortSystemShutdownW
|
||||||
@ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) AccessCheck
|
@ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) AccessCheck
|
||||||
@ stub AccessCheckAndAuditAlarmA
|
@ stub AccessCheckAndAuditAlarmA
|
||||||
@ stub AccessCheckAndAuditAlarmW
|
@ stub AccessCheckAndAuditAlarmW
|
||||||
|
@ -166,7 +166,7 @@ debug_channels (advapi crypt reg)
|
||||||
@ stdcall OpenServiceA(long str long) OpenServiceA
|
@ stdcall OpenServiceA(long str long) OpenServiceA
|
||||||
@ stdcall OpenServiceW(long wstr long) OpenServiceW
|
@ stdcall OpenServiceW(long wstr long) OpenServiceW
|
||||||
@ stdcall OpenThreadToken(long long long ptr) OpenThreadToken
|
@ stdcall OpenThreadToken(long long long ptr) OpenThreadToken
|
||||||
@ stub PrivilegeCheck
|
@ stdcall PrivilegeCheck(ptr ptr ptr) PrivilegeCheck
|
||||||
@ stub PrivilegedServiceAuditAlarmA
|
@ stub PrivilegedServiceAuditAlarmA
|
||||||
@ stub PrivilegedServiceAuditAlarmW
|
@ stub PrivilegedServiceAuditAlarmW
|
||||||
@ stub QueryServiceConfigA
|
@ stub QueryServiceConfigA
|
||||||
|
|
|
@ -970,3 +970,14 @@ BOOL WINAPI GetAce(PACL pAcl,DWORD dwAceIndex,LPVOID *pAce )
|
||||||
{
|
{
|
||||||
CallWin32ToNt(RtlGetAce(pAcl, dwAceIndex, 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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue