[PATCH] gdi32/tests: Add tests for the advanced graphics mode

Dmitry Timoshkov dmitry at baikal.ru
Tue Feb 9 09:59:59 CST 2021


Ralf Habacker <ralf.habacker at freenet.de> wrote:

> +    handle_dib = HeapAlloc( GetProcessHeap(), 0, bm_bits_size + palette_size + sizeof( BITMAPINFOHEADER )) ;
> +    lpbi = (LPBITMAPINFOHEADER)GlobalLock( handle_dib );

GlobalLock() is not needed, probably crashes are caused by this.

-- 
Dmitry.



More information about the wine-devel mailing list