On Tue, Mar 24, 2015 at 2:06 PM, Juha Manninen <juha.mannine...@gmail.com> wrote:
> 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 > Bmp? > HasAlpha := (Windows.GetObject(bmp, SizeOf(WinBmp), @WinBmp) <> 0) > According to the specs, there's no need for initialization. https://msdn.microsoft.com/en-us/library/windows/desktop/dd144904%28v=vs.85%29.aspx It's pure out parameter. (for parameters requiring initialization it would be _In_ or _In_Out_) thanks, Dmitry
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus