HBITMAPCreateBitmapMask(HBITMAPoriginalBmp,COLORREFtransColor);// Creates Mask Bitmap using specified color (helper)
HBITMAPCreateBitmapMask(HBITMAPoriginalBmp,intcx,intcy);// Creates Mask Bitmap using color from specified location (helper)
HBITMAPCreateBitmapMask(HBITMAPoriginalBmp,COLORREFtransColor,intcx,intcy);// Creates Mask Bitmap if transColor is NULL uses color from specified position
HBITMAPConvertTo24bpp(HBITMAPbmp,intbpp=24);// creates a new bitmap with 24bpp. You responsible for destroying both