FlipDIBVertical

#include "BiDIB.h"

 

HDIB CALLBACK FlipDIBVertical(HDIB hDIB)

Description

The function will flip the device independent bitmap (DIB) vertically.

Parameters

HDIB

hDIB;

Handle to the DIB to be flipped.

Return Value

HANDLE of flipped DIB or NULL on error.

Programming notes

This function does not delete the original DIB.

Requirements

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

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.

Code example

#include "BiDIB.h"

HDIB hDIB;

HDIB hFlipDIB;

hFlipDIB = FlipDIBVertical(hDIB);

if  (!hFlipDIB)

                // error