FlipBitmapVertical

#include "BIDIB.H"

 

BOOL CALLBACK FlipBitmapVertical(HBITMAP hbitSource)

Description

The function will flip the bitmap vertically.

Parameters

HBITMAP

hbitSource;

Handle to the bitmap to be flipped.

                                                                       

Return values

TRUE on success otherwise FALSE.

Programming notes

This function uses three DCs at once, so if it fails, check the number of DCs in current use. Memory is allocated to handle at least one line of the bitmap, and it is freed when exited. The more memory provided, the faster execution proceeds.

Requirements

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

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.