advapi32: Stub out the Safer* functions a bit more.
This commit is contained in:
parent
58dddbed23
commit
f2081fb2bd
|
@ -540,8 +540,8 @@
|
||||||
@ stdcall ReportEventA (long long long long ptr long long str ptr)
|
@ stdcall ReportEventA (long long long long ptr long long str ptr)
|
||||||
@ stdcall ReportEventW (long long long long ptr long long wstr ptr)
|
@ stdcall ReportEventW (long long long long ptr long long wstr ptr)
|
||||||
@ stdcall RevertToSelf()
|
@ stdcall RevertToSelf()
|
||||||
# @ stub SaferCloseLevel
|
@ stdcall SaferCloseLevel(ptr)
|
||||||
# @ stub SaferComputeTokenFromLevel
|
@ stdcall SaferComputeTokenFromLevel(ptr ptr ptr long ptr)
|
||||||
@ stdcall SaferCreateLevel(long long long ptr ptr)
|
@ stdcall SaferCreateLevel(long long long ptr ptr)
|
||||||
# @ stub SaferGetLevelInformation
|
# @ stub SaferGetLevelInformation
|
||||||
@ stdcall SaferGetPolicyInformation(long long long ptr ptr ptr)
|
@ stdcall SaferGetPolicyInformation(long long long ptr ptr ptr)
|
||||||
|
|
|
@ -5418,7 +5418,30 @@ BOOL WINAPI SaferCreateLevel(DWORD ScopeId, DWORD LevelId, DWORD OpenFlags,
|
||||||
SAFER_LEVEL_HANDLE* LevelHandle, LPVOID lpReserved)
|
SAFER_LEVEL_HANDLE* LevelHandle, LPVOID lpReserved)
|
||||||
{
|
{
|
||||||
FIXME("(%u, %x, %u, %p, %p) stub\n", ScopeId, LevelId, OpenFlags, LevelHandle, lpReserved);
|
FIXME("(%u, %x, %u, %p, %p) stub\n", ScopeId, LevelId, OpenFlags, LevelHandle, lpReserved);
|
||||||
return FALSE;
|
|
||||||
|
*LevelHandle = (SAFER_LEVEL_HANDLE)0xdeadbeef;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* SaferComputeTokenFromLevel [ADVAPI32.@]
|
||||||
|
*/
|
||||||
|
BOOL WINAPI SaferComputeTokenFromLevel(SAFER_LEVEL_HANDLE handle, HANDLE token, PHANDLE access_token,
|
||||||
|
DWORD flags, LPVOID reserved)
|
||||||
|
{
|
||||||
|
FIXME("(%p, %p, %p, %x, %p) stub\n", handle, token, access_token, flags, reserved);
|
||||||
|
|
||||||
|
*access_token = (HANDLE)0xdeadbeef;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* SaferCloseLevel [ADVAPI32.@]
|
||||||
|
*/
|
||||||
|
BOOL WINAPI SaferCloseLevel(SAFER_LEVEL_HANDLE handle)
|
||||||
|
{
|
||||||
|
FIXME("(%p) stub\n", handle);
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
DWORD WINAPI TreeResetNamedSecurityInfoW( LPWSTR pObjectName,
|
DWORD WINAPI TreeResetNamedSecurityInfoW( LPWSTR pObjectName,
|
||||||
|
|
Loading…
Reference in New Issue