https://bugs.winehq.org/show_bug.cgi?id=38736
Bug ID: 38736 Summary: Volume Shadow Copy Service (VSS) Backup/Restore Test Tool from Windows SDK 8.1 needs api-ms-win-security-lsalookup-l1-1-0.dll Product: Wine Version: 1.7.44 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as the summary says.
Prerequisite for Windows SDK 8.1 install:
* new 32-bit WINEPREFIX * 'winetricks -q dotnet40 corefonts' * change WinVer to 'Vista' * install .NET Framework 4.5 from 'winetricks' cache or download (to avoid .NET Framework 2.x, 3.x install which is not needed here)
Run the SDK installer with WinVer set to 'Windows 8.1' and 'dwrite' component disabled to get all Windows 8+ components installed
--- snip --- $ WINEDLLOVERRIDES=dwrite=d wine ./sdksetup.exe --- snip ---
Run the tool:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Windows Kits/8.1/bin/x86
$ wine ./betest.exe fixme:wer:WerSetFlags (2) stub! fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub. fixme:ntdll:WinSqmIsOptedIn () stub fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} err:module:import_dll Library api-ms-win-security-lsalookup-l1-1-0.dll (which is needed by L"C:\Program Files\Windows Kits\8.1\bin\x86\betest.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\Windows Kits\8.1\bin\x86\betest.exe" failed, status c0000135 --- snip ---
Windows 7 API set:
http://www.geoffchappell.com/studies/windows/win32/apisetschema/ms-win-secur...
--- quote --- API-MS-Win-Security-LSALookup-L1-1-0
All the functions in the API-MS-Win-Security-LSALookup-L1-1-0 set are exports from SECHOST version 6.1 and higher, and are not documented (though they are each declared in one or another SDK header file):
LookupAccountNameLocalA LookupAccountNameLocalW LookupAccountSidLocalA LookupAccountSidLocalW LsaLookupClose LsaLookupFreeMemory LsaLookupGetDomainInfo LsaLookupManageSidNameMapping LsaLookupOpenLocalPolicy LsaLookupTranslateNames LsaLookupTranslateSids
The Windows 7 schema redirects this API Set to SECHOST. --- quote ---
$ sha1sum sdksetup.exe 4540251f0ca62da5fd8e68cd4e3129930e7c5ae9 sdksetup.exe
$ du -sh sdksetup.exe 976K sdksetup.exe
$ wine --version wine-1.7.44-173-g42cbc05
Regards