L_DoubleBufferDestroyHandle
#include "l_bitmap.h"
L_LTDIS_API L_INT L_DoubleBufferDestroyHandle(hDoubleBufferHandle)
L_HANDLE hDoubleBufferHandle; |
/* double buffering handle */ |
Frees the double buffer handle resources.
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 2000 / XP/Vista.
See Also
Functions: |
L_DoubleBufferEnable, L_DoubleBufferCreateHandle, L_DoubleBufferBegin, L_DoubleBufferEnd |
Topics: |
|
|
Example
To see how double buffering can be used in an application, see the source code for the API annotation demo.