Kovács András wrote:
Hi,This patch is for GetTitleBarInfo, when it gets NULL hwnd and/or pti parameter.GTA IV tries to use this function with NULL, NULL parameters. This doesn't hurt Windows, but crashes in wine.Tested against Windows 7. Best Regards, Andras Kovacs
I think IsWindow() will be enough here. Also add tests for that please.