#include "BIDIB.H"
HANDLE CALLBACK ConvertBitmapToDIB( HBITMAP hBitmap,
HPALETTE hPal)
Description
This function converts a device dependent bitmap to device independent bitmap.
Parameters
|
HANDLE |
hBitmap |
Handle to the bitmap to be converted. |
|
HPALETTE |
hPal |
Handle to the bitmap palette. |
Return values
Handle to the newly created DIB. NULL on error.
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.