Introduction - If you have any usage issues, please Google them yourself
This procedure introduced a function BitmapToRegion (), used to convert a bitmap region. It scans the contents of the bitmap to find non-transparent pixels of the continuous line, to increase the line to RGNDATA structure, finally, with ExtCreateRgn () to create the region.