HBITMAP not copyable?

Anyone running into trouble with REALLockPictureDescription and pictureWin32Bitmap?

In Xojo 2016r4, the bitmaps I get may have the right content, but copying them to another HBITMAP via BitBlt does not give colors.
I can copy pixels with memcpy directly from one HBITMAP to other, but that should not be the solution.

Anyone else sees a problem there?