L_DoubleBufferDestroyHandle

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_DoubleBufferDestroyHandle(hDoubleBufferHandle)

L_HANDLE hDoubleBufferHandle;

/* double buffering handle */

Frees the double buffer handle resources. This function is available in the Document/Medical Toolkits.

Parameter

Description

hDoubleBufferHandle

Handle that identifies the double buffering process.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function should be called when you are finished with the double buffering process. It frees all internally allocated resources associated with double buffering it should be called once for each call to L_DoubleBufferCreateHandle.

For more information, see the topic Minimizing Flicker With Double Buffering.

Required DLLs and Libraries

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_DoubleBufferEnable, L_DoubleBufferCreateHandle, L_DoubleBufferBegin, L_DoubleBufferEnd

Topics:

Raster Image Functions: Displaying Images

 

Minimizing Flicker With Double Buffering

Example

For an example refer to L_DoubleBufferEnd.

To see how double buffering can be used in an application, see the source code for the API annotation demo.