On Fri Oct 17 22:22:54 2025 +0000, Esme Povirk wrote:
Oddly, gphoto2.ds does return an HBITMAP for this operation, and it has a comment implying they're supposed to be equivalent to HGLOBAL: https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/gphoto2.ds/ds_image.c... It also only returns 32 bits. I have never heard of GlobalLock working with HBITMAPs, though.
I think we should update gphoto2.ds to return an HGLOBAL in a similar way to this.