CreateDIBPalette

#include "BIDIB.H"

HPALETTE CALLBACK CreateDIBPalette(HANDLE hDIB)

Description

This function creates a palette from the device independent bitmap.

Parameters

HANDLE

hDIB

Handle to the DIB to be converted.

Return values

Handle to the newly created palette. NULL on error.

Requirements

Header :     Declared in BiDIB.h; include BiDIB.h.

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.