Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/toolbar.c:
static void *alloced_str;
-static LRESULT parent_wnd_notify(LPARAM lParam) +#define TEST_WM_NOTIFY_IDFROM 0xabcd0002 +#define TEST_WM_NOTIFY_CODE 0xabcd0003 +#define TEST_WM_NOTIFY_RETURN 0xabcd0004 +static BOOL expecting_test_WM_NOTIFY; +static const NMHDR test_WM_NOTIFY_nmhdr = +{
- /* .hwndFrom should not be accessed */
- .hwndFrom = (HWND)0xabcd0001,
Let's add a TEST_WM_NOTIFY_HWND as well for this.