[Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler
skalogryz.lists at gmail.com
Tue Mar 24 19:11:20 CET 2015
On Tue, Mar 24, 2015 at 2:06 PM, Juha Manninen <juha.manninen62 at gmail.com>
> I also added some ToDo items for things I could not fix.
> I would need help for the ToDo items especially in LCL-Win32 code. I
> know there are people here who know that code.
> // ToDo: WinBmp is not initialized at all. Should it be initialized from
> HasAlpha := (Windows.GetObject(bmp, SizeOf(WinBmp), @WinBmp) <> 0)
According to the specs, there's no need for initialization.
It's pure out parameter. (for parameters requiring initialization it would
be _In_ or _In_Out_)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus