http://bugs.winehq.org/show_bug.cgi?id=29683
Bug #: 29683 Summary: inspect tool from Windows Platform SDK 7.1 tool exits immediately due to user32 OpenInputDesktop stub Product: Wine Version: 1.3.37 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
the "inspect" tool exits immediately due to user32 OpenInputDesktop stub.
MSDN article about that tool:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd318521.aspx
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Microsoft SDKs/Windows/v7.1/Bin ... $ wine ./Inspect.exe fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:winstation:OpenInputDesktop (0,1,2000000): stub --- snip ---
Trace log:
--- snip --- 0024:Call user32.OpenWindowStationW(01002d8c L"WinSta0",00000001,02000000) ret=0100ef1c 0024:Ret user32.OpenWindowStationW() retval=0000004c ret=0100ef1c 0024:Call user32.SetProcessWindowStation(0000004c) ret=0100ef28 0024:Ret user32.SetProcessWindowStation() retval=00000001 ret=0100ef28 0024:Call user32.OpenInputDesktop(00000000,00000001,02000000) ret=0100ef32 0024:fixme:winstation:OpenInputDesktop (0,1,2000000): stub 0024:Ret user32.OpenInputDesktop() retval=00000000 ret=0100ef32 0024:Call user32.OpenDesktopW(01002d78 L"Winlogon",00000000,00000001,02000000) ret=0100ef46 0024:Ret user32.OpenDesktopW() retval=00000000 ret=0100ef46 0024:Call msvcrt.exit(00000000) ret=0100d5df --- snip ---
Because OpenInputDesktop() is a stub it tries a fallback with OpenDesktop( "Winlogon" ...) which doesn't exist in Wine, also failing.
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms684309.aspx
Code: http://source.winehq.org/git/wine.git/blob/cb3b7237925a24ba4c5696dd079fdc5d9...
--- snip --- 460 /****************************************************************************** 461 * OpenInputDesktop (USER32.@) 462 */ 463 HDESK WINAPI OpenInputDesktop( DWORD flags, BOOL inherit, ACCESS_MASK access ) 464 { 465 FIXME( "(%x,%i,%x): stub\n", flags, inherit, access ); 466 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 467 return 0; 468 } --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=29683
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.microsoft.com/do | |wnload/en/details.aspx?id=8 | |279
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-01-22 14:13:34 CST --- Hello,
filling fields. SDK 7.1 installer needs .NET 4.0 Framework prerequisite installed
$ sha1sum winsdk_web.exe a8717ebb20a69c7efa85232bcb9899b8b07f98cf winsdk_web.exe
$ wine --version wine-1.3.37-254-g14b790a
Regards
http://bugs.winehq.org/show_bug.cgi?id=29683
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #2 from Qian Hong fracting@gmail.com 2012-02-01 01:08:33 CST --- Hello, this stub is also needed by QQ International :
When OpenInputDesktop return 0, QQ International will auto change it's online status to "Away"; If I dirty hack OpenInputDesktop and let it return a none zero value, QQ International will work as expect, I can change it's Online status to any of "Online"/"Busy"/"Away" and so on.
Should I open separate bug for QQ International?
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=29683
--- Comment #3 from Qian Hong fracting@gmail.com 2012-02-01 01:09:57 CST --- (In reply to comment #2)
Hello, this stub is also needed by QQ International :
this stub -> this function Typo, sorry :)
http://bugs.winehq.org/show_bug.cgi?id=29683
--- Comment #4 from Austin English austinenglish@gmail.com 2012-02-01 12:29:16 CST --- (In reply to comment #2)
Should I open separate bug for QQ International?
No.
http://bugs.winehq.org/show_bug.cgi?id=29683
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from Anastasius Focht focht@gmx.net 2012-03-29 14:31:17 CDT --- Hello,
making this a dupe of bug 12067 (TeamViewer also suffers from this).
Regards
*** This bug has been marked as a duplicate of bug 12067 ***
http://bugs.winehq.org/show_bug.cgi?id=29683
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |adys.wh@gmail.com
--- Comment #6 from Jerome Leclanche adys.wh@gmail.com 2012-04-06 11:58:59 CDT --- Closing