- bitmap
The System.Drawing.Bitmap to create.
- monochromeMask
A pointer to the monochrome mask.
![]()
An IntPtr representing the handle to the bitmap.
You are responsible for de-allocating the HBITMAP. If the image uses transparency, the background will be filled with the specified color.