[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


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 at winehq.org
        ReportedBy: focht at 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/cb3b7237925a24ba4c5696dd079fdc5d99a48577:/dlls/user32/winstation.c#l460

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

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