[Bug 6829] New: COMDLG32: wrong return value of
CommDlgExtendedError after GetOpenFileName
Wine Bugs
wine-bugs at winehq.org
Mon Dec 4 14:04:49 CST 2006
http://bugs.winehq.org/show_bug.cgi?id=6829
Summary: COMDLG32: wrong return value of CommDlgExtendedError
after GetOpenFileName
Product: Wine
Version: 0.9.26.
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: wine-comctl32
AssignedTo: wine-bugs at winehq.org
ReportedBy: oberon at wildwein.de
CC: oberon at wildwein.de
When the GetOpenFileName dialog is "Cancel"led a subsequent call to
CommDlgExtendedError returns 4104 instead of 0
Platform SDK says:
> CommDlgExtendedError Function
>
> ----------------------------------------------------------------------------
>
> The CommDlgExtendedError function returns a common dialog box error code.
> This code indicates the most recent error to occur during the execution of
> one of the common dialog box functions. These error codes are defined in
> Cderr.h.
>
> Syntax
>
> DWORD CommDlgExtendedError(VOID);
> Return Value
>
> If the most recent call to a common dialog box function succeeded, the return
> value is undefined.
>
> If the common dialog box function returned FALSE because the user closed or
> canceled the dialog box, the return value is zero. Otherwise, the return
> value is a nonzero error code. For more information, see the following
> Remarks section.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list