projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8fb7057
)
Don't assume WM_DESTROY is last message - listview sends notification after it. Confi...
author
Rafal Harabien
<rafalh@reactos.org>
Mon, 21 Mar 2011 14:21:16 +0000
(14:21 +0000)
committer
Rafal Harabien
<rafalh@reactos.org>
Mon, 21 Mar 2011 14:21:16 +0000
(14:21 +0000)
See issue #6026 for more details.
svn path=/trunk/; revision=51105
reactos/dll/win32/devmgr/hwpage.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/devmgr/hwpage.c
b/reactos/dll/win32/devmgr/hwpage.c
index
0b26bd6
..
57b52d2
100644
(file)
--- a/
reactos/dll/win32/devmgr/hwpage.c
+++ b/
reactos/dll/win32/devmgr/hwpage.c
@@
-964,6
+964,9
@@
HardwareDlgProc(IN HWND hwndDlg,
case WM_DESTROY:
{
+ /* zero hpd pointer in window data, because it can be used later (WM_DESTROY has not to be last message) */
+ SetWindowLongPtr(hwndDlg, DWL_USER, (DWORD_PTR)NULL);
+
/* free devices list */
FreeDevicesList(hpd);