Commit f2081fb2 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

advapi32: Stub out the Safer* functions a bit more.

parent 58dddbed
...@@ -540,8 +540,8 @@ ...@@ -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, ...@@ -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,
......
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