[PATCH 4/5] wined3d: Determine output from window position in wined3d_hook_proc().