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@winehq.org Reporter: rozhuk.im@gmail.com
IsDialogMessage(NULL,...) mast always return FALSE.
http://source.winehq.org/git/wine.git/blob/e882cdf55cc004b5ffb7b85d912b4733d... 2858 BOOL WINAPI IsDialogMessageA( HWND hwndDlg, LPMSG pmsg ) 2859 { + if (hwndDlg == NULL) return FALSE;
http://source.winehq.org/git/wine.git/blob/e882cdf55cc004b5ffb7b85d912b4733d... 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/e882cdf55cc004b5ffb7b85d912b4733d... 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;