Jinoh Kang (@iamahuman) commented about dlls/comctl32/tests/misc.c:
+#define SUPER_CLASS_NAME_A "SuperClass Test" +static WNDPROC real_class_wndproc; +static const char *real_class_str; +static LRESULT WINAPI super_class_test_win_proc_a(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) +{
- LRESULT lr = 0;
- /*
* Passing through WM_GETTEXT to the WC_IPADDRESSA procedure will cause an
* access violation on Windows 7 64-bit.
*/
- if ((msg == WM_GETTEXT) && !strcmp(real_class_str, WC_IPADDRESSA))
return lr;
- if (real_class_wndproc)
This condition is always true (in comctl32:misc).