ConvertToMonochromeBitmap

#include "BIDIB.H"

HBITMAP CALLBACK ConvertToMonochromeBitmap(HBITMAP hBmp)

Description

This function converts a color bitmap to a device dependent monochrome bitmap. It does not use dithering.

Parameters

HBITMAP

hBmp

Handle to a BITMAP to be converted.

Return values

Handle to the newly created BITMAP. NULL on error.

Requirements

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

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.