https://bugs.winehq.org/show_bug.cgi?id=36709
Bug ID: 36709 Summary: Multiple applications/games from Windows 7 need slc.SLGetWindowsInformationDWORD semi-stub/implementation Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
split off from bug 28479 (https://bugs.winehq.org/show_bug.cgi?id=28479#c5)
Apparently Wine's 'SLGetWindowsInformationDWORD' stub returning 'SL_E_RIGHT_NOT_GRANTED' prevents the games from running further.
Source: http://source.winehq.org/git/wine.git/blob/40953c2ada49f2b8df62624f273c54b12...
--- snip --- 31 DWORD WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwValue) 32 { 33 FIXME("(%s) stub\n", debugstr_w(lpszValueName) ); 34 35 return SL_E_RIGHT_NOT_GRANTED; 36 } --- snip ---
MSND: http://msdn.microsoft.com/en-us/library/windows/desktop/aa965835%28v=vs.85%2...
There was already an attempt to get a semi-stub in here:
http://www.winehq.org/pipermail/wine-patches/2010-November/095483.html
http://withinwindows.com/2008/10/03/short-slgetwindowsinformationdword-value...
That version didn't look that bad, it allowed the games passing 'Shell-InBoxGames-<gamename>-EnableGame' to run further.
Regards
https://bugs.winehq.org/show_bug.cgi?id=36709
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=36709
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- I've just written a version which is probably a bit closer to how it is handled on Windows. SLGetWindowsInformationDWORD should forward to ntdll.NtQueryLicenseKey, which should read the license information from the registry.
There are even some pages documenting the exact format how the license information is stored on Windows, but I don't think it is necessary to reproduce this detail. Just storing these properties as registry keys should probably be sufficient.
The patchset is available below and I will try to submit it soon: https://github.com/wine-compholio/wine-staging/tree/master/patches/slc-SLGet...
https://bugs.winehq.org/show_bug.cgi?id=36709
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- Should be fixed with: http://source.winehq.org/git/wine.git/commit/731007886034dfd46dba3a006cd0c77...
If there are any additional license keys missing which should be added, please open a new bug report (and feel free to add me as CC). So far Wine only knows about a couple of keys: http://source.winehq.org/git/wine.git/blob/HEAD:/loader/wine.inf.in#l3148
https://bugs.winehq.org/show_bug.cgi?id=36709
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |731007886034dfd46dba3a006cd | |0c7790d091dd3 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- Assuming fixed, please reopen/create a new bug if still present.
https://bugs.winehq.org/show_bug.cgi?id=36709
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.40.
https://bugs.winehq.org/show_bug.cgi?id=36709
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |slc