<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 24, 2015 at 2:06 PM, Juha Manninen <span dir="ltr"><<a href="mailto:juha.manninen62@gmail.com" target="_blank">juha.manninen62@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I also added some ToDo items for things I could not fix.<br>
I would need help for the ToDo items especially in LCL-Win32 code. I<br>
know there are people here who know that code.<br> // ToDo: WinBmp is not initialized at all. Should it be initialized from Bmp?<br>
HasAlpha := (Windows.GetObject(bmp, SizeOf(WinBmp), @WinBmp) <> 0)<br></blockquote><div><br></div><div>According to the specs, there's no need for initialization.</div><div><br></div><div><a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd144904%28v=vs.85%29.aspx">https://msdn.microsoft.com/en-us/library/windows/desktop/dd144904%28v=vs.85%29.aspx</a></div><div><br></div><div>It's pure out parameter. (for parameters requiring initialization it would be _In_ or _In_Out_)</div><div><br></div><div>thanks,</div><div>Dmitry </div></div></div></div>