kernelbase: Add SetCachedSigningLevel stub.

Needed for Microsoft Edge offline installer.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Mohamad Al-Jaf 2021-11-30 19:14:38 -05:00 committed by Alexandre Julliard
parent a041075cd2
commit 04d1cab16a
5 changed files with 13 additions and 2 deletions

View File

@ -87,7 +87,7 @@
@ stub QuerySecurityAccessMask
@ stdcall RevertToSelf() advapi32.RevertToSelf
@ stdcall SetAclInformation(ptr ptr long long) advapi32.SetAclInformation
@ stub SetCachedSigningLevel
@ stdcall SetCachedSigningLevel(ptr long long long) kernelbase.SetCachedSigningLevel
@ stdcall SetFileSecurityW(wstr long ptr) advapi32.SetFileSecurityW
@ stdcall SetKernelObjectSecurity(long long ptr) advapi32.SetKernelObjectSecurity
@ stdcall SetPrivateObjectSecurity(long ptr ptr ptr long) advapi32.SetPrivateObjectSecurity

View File

@ -1343,6 +1343,7 @@
@ stdcall -import SearchPathA(str str str long ptr ptr)
@ stdcall -import SearchPathW(wstr wstr wstr long ptr ptr)
@ stdcall SetCPGlobal(long)
@ stdcall -import SetCachedSigningLevel(ptr long long long)
@ stdcall SetCalendarInfoA(long long long str)
@ stdcall -import SetCalendarInfoW(long long long wstr)
# @ stub SetClientTimeZoneInformation

View File

@ -1393,7 +1393,7 @@
@ stdcall SearchPathA(str str str long ptr ptr)
@ stdcall SearchPathW(wstr wstr wstr long ptr ptr)
@ stdcall SetAclInformation(ptr ptr long long)
# @ stub SetCachedSigningLevel
@ stdcall SetCachedSigningLevel(ptr long long long)
@ stdcall SetCalendarInfoW(long long long wstr)
# @ stub SetClientDynamicTimeZoneInformation
# @ stub SetClientTimeZoneInformation

View File

@ -1547,3 +1547,12 @@ BOOL WINAPI SetAclInformation( PACL acl, LPVOID info, DWORD len, ACL_INFORMATION
FIXME( "%p %p 0x%08x 0x%08x - stub\n", acl, info, len, class );
return TRUE;
}
/******************************************************************************
* SetCachedSigningLevel (kernelbase.@)
*/
BOOL WINAPI SetCachedSigningLevel( PHANDLE source, ULONG count, ULONG flags, HANDLE file )
{
FIXME( "%p %u %u %p - stub\n", source, count, flags, file );
return TRUE;
}

View File

@ -2611,6 +2611,7 @@ WINBASEAPI DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR
WINBASEAPI DWORD WINAPI SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*);
#define SearchPath WINELIB_NAME_AW(SearchPath)
WINADVAPI BOOL WINAPI SetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS);
WINBASEAPI BOOL WINAPI SetCachedSigningLevel(PHANDLE,ULONG,ULONG,HANDLE);
WINBASEAPI BOOL WINAPI SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD);
WINBASEAPI BOOL WINAPI SetCommBreak(HANDLE);
WINBASEAPI BOOL WINAPI SetCommMask(HANDLE,DWORD);