Phil Krylov phil@newstar.rinet.ru writes:
ChangeLog:
riched20: Fixed crash when the window procedure is called with NULL hWnd.
You should check that you got a valid pointer from GetWindowLong, NULL is not the only invalid window handle you can get here.