HBITMAP CreateBitmapIndirect(lpBitmap)
This function creates a bitmap that has the width, height, and bit pattern given in the data structure pointed to by the lpBitmap parameter. Although a bitmap cannot be directly selected for a display device, it can be selected as the current bitmap for a memory display and copied to any compatible display device by using the BitBlt function.
Parameter | Type/Description |
lpBitmap | BITMAP FAR * Points to a BITMAP data structure that contains information about the bitmap. |
The return value identifies a bitmap if the function is successful. Otherwise, it is NULL.