advapi32: Implement LookupAccountSidLocalA/W.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47286 Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fd3c80b873
commit
7b8554b3b8
|
@ -430,6 +430,8 @@
|
|||
@ stdcall LookupAccountNameA(str str ptr ptr ptr ptr ptr)
|
||||
@ stdcall LookupAccountNameW(wstr wstr ptr ptr ptr ptr ptr)
|
||||
@ stdcall LookupAccountSidA(ptr ptr ptr ptr ptr ptr ptr)
|
||||
@ stdcall LookupAccountSidLocalA(ptr ptr ptr ptr ptr ptr)
|
||||
@ stdcall LookupAccountSidLocalW(ptr ptr ptr ptr ptr ptr)
|
||||
@ stdcall LookupAccountSidW(ptr ptr ptr ptr ptr ptr ptr)
|
||||
@ stdcall LookupPrivilegeDisplayNameA(str str str ptr ptr)
|
||||
@ stdcall LookupPrivilegeDisplayNameW(wstr wstr wstr ptr ptr)
|
||||
|
|
|
@ -2315,6 +2315,21 @@ LookupAccountSidA(
|
|||
return r;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* LookupAccountSidLocalA [ADVAPI32.@]
|
||||
*/
|
||||
BOOL WINAPI
|
||||
LookupAccountSidLocalA(
|
||||
PSID sid,
|
||||
LPSTR account,
|
||||
LPDWORD accountSize,
|
||||
LPSTR domain,
|
||||
LPDWORD domainSize,
|
||||
PSID_NAME_USE name_use )
|
||||
{
|
||||
return LookupAccountSidA(NULL, sid, account, accountSize, domain, domainSize, name_use);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* LookupAccountSidW [ADVAPI32.@]
|
||||
*
|
||||
|
@ -2491,6 +2506,21 @@ LookupAccountSidW(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* LookupAccountSidLocalW [ADVAPI32.@]
|
||||
*/
|
||||
BOOL WINAPI
|
||||
LookupAccountSidLocalW(
|
||||
PSID sid,
|
||||
LPWSTR account,
|
||||
LPDWORD accountSize,
|
||||
LPWSTR domain,
|
||||
LPDWORD domainSize,
|
||||
PSID_NAME_USE name_use )
|
||||
{
|
||||
return LookupAccountSidW(NULL, sid, account, accountSize, domain, domainSize, name_use);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* SetFileSecurityA [ADVAPI32.@]
|
||||
*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@ stub LookupAccountNameLocalA
|
||||
@ stub LookupAccountNameLocalW
|
||||
@ stub LookupAccountSidLocalA
|
||||
@ stub LookupAccountSidLocalW
|
||||
@ stdcall LookupAccountSidLocalA(ptr ptr ptr ptr ptr ptr) advapi32.LookupAccountSidLocalA
|
||||
@ stdcall LookupAccountSidLocalW(ptr ptr ptr ptr ptr ptr) advapi32.LookupAccountSidLocalW
|
||||
@ stub LsaLookupClose
|
||||
@ stub LsaLookupFreeMemory
|
||||
@ stub LsaLookupGetDomainInfo
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
@ stub GetIdentityProviderInfoByName
|
||||
@ stub LookupAccountNameLocalA
|
||||
@ stub LookupAccountNameLocalW
|
||||
@ stub LookupAccountSidLocalA
|
||||
@ stub LookupAccountSidLocalW
|
||||
@ stdcall LookupAccountSidLocalA(ptr ptr ptr ptr ptr ptr) advapi32.LookupAccountSidLocalA
|
||||
@ stdcall LookupAccountSidLocalW(ptr ptr ptr ptr ptr ptr) advapi32.LookupAccountSidLocalW
|
||||
@ stub LsaLookupClose
|
||||
@ stub LsaLookupFreeMemory
|
||||
@ stub LsaLookupGetDomainInfo
|
||||
|
|
|
@ -2430,6 +2430,9 @@ WINADVAPI BOOL WINAPI LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,LPDWORD,LP
|
|||
WINADVAPI BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);
|
||||
WINADVAPI BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE);
|
||||
#define LookupAccountSid WINELIB_NAME_AW(LookupAccountSid)
|
||||
WINADVAPI BOOL WINAPI LookupAccountSidLocalA(PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);
|
||||
WINADVAPI BOOL WINAPI LookupAccountSidLocalW(PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE);
|
||||
#define LookupAccountSidLocal WINELIB_NAME_AW(LookupAccountSidLocal)
|
||||
WINBASEAPI BOOL WINAPI LocalFileTimeToFileTime(const FILETIME*,LPFILETIME);
|
||||
WINBASEAPI BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
||||
WINBASEAPI BOOL WINAPI LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED);
|
||||
|
|
Loading…
Reference in New Issue