[Bug 29683] New: inspect tool from Windows Platform SDK 7.1 tool exits immediately due to user32 OpenInputDesktop stub

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 22 14:12:56 CST 2012


             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 at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


the "inspect" tool exits immediately due to user32 OpenInputDesktop stub.

MSDN article about that tool:


--- 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)
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)
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


--- snip ---
 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 ---


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list