CreateBitmapIndirect function gdi32
Creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel).
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-createbitmapindirect.
Implementation
@pragma('vm:prefer-inline')
HBITMAP CreateBitmapIndirect(Pointer<BITMAP> pbm) =>
HBITMAP(_CreateBitmapIndirect(pbm));