[Bug 38276] New: IsDialogMessage(NULL,...) mast always return FALSE!

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 23 21:51:15 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38276

            Bug ID: 38276
           Summary: IsDialogMessage(NULL,...) mast always return FALSE!
           Product: Wine
           Version: 1.7.8
          Hardware: x86
                OS: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: rozhuk.im at gmail.com

IsDialogMessage(NULL,...) mast always return FALSE.

http://source.winehq.org/git/wine.git/blob/e882cdf55cc004b5ffb7b85d912b4733da761ba6:/dlls/user/message.c
2858 BOOL WINAPI IsDialogMessageA( HWND hwndDlg, LPMSG pmsg )
2859 {
+ if (hwndDlg == NULL) return FALSE;


http://source.winehq.org/git/wine.git/blob/e882cdf55cc004b5ffb7b85d912b4733da761ba6:/dlls/user/dialog.c
1052 BOOL WINAPI IsDialogMessageW( HWND hwndDlg, LPMSG msg )
1053 {
1054 INT dlgCode = 0;
1055 
+ if (hwndDlg == NULL) return FALSE;

http://source.winehq.org/git/wine.git/blob/e882cdf55cc004b5ffb7b85d912b4733da761ba6:/dlls/comctl32/propsheet.c
3065 static BOOL PROPSHEET_IsDialogMessage(HWND hwnd, LPMSG lpMsg)
3066 {
3067 PropSheetInfo* psInfo = (PropSheetInfo*) GetPropW(hwnd, PropSheetInfoStr);
3068
3069 TRACE("\n");
 if (!psInfo || hwnd == NULL || (hwnd != lpMsg->hwnd && !IsChild(hwnd,
lpMsg->hwnd)))
3071 return FALSE;

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