Is it better to use HBITMAP or LPBITMAP as a pattern when working with/managing BITMAPs in a Windows application?
Posted on 2015-01-10
I'm building an utility application which reads in a bitmap and then performs analysis on it.
As matter of implementation/design patterns, is it better to store, use and pass as a parameter an
HBITMAP or an LPBITMAP?
I know that I can retrieve an LPBITMAP from an HBITMAP via the GetObject() call.
I'm not sure how expensive it is to use that call repeatedly.
What's the more accepted practice to use?
HBITMAP or LPBITMAP?