LEADTOOLS Raster Imaging C DLL Help > Function References > L_DestroyPlayback |
#include "l_bitmap.h"
L_LTDIS_API L_INT L_DestroyPlayback(hPlayback, phList)
HPLAYBACK hPlayback; |
/* playback handle */ |
pHBITMAPLIST phList; |
/* address of the list variable to be updated */ |
Invalidates the animation playback handle. The image list is not deleted.
Parameter |
Description |
hPlayback |
Handle that references the animation playback. |
phList |
NULL or the address of the variable to be updated with the handle to the bitmap list that the playback used. This is useful it the list was created using L_AppendPlayback during the playback. You can pass NULL if you do not need the list handle. In that case, if the list was created using L_AppendPlayback, LEADTOOLS will free the list from memory. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
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
Win32, x64, Linux.
See Also
Functions: |
|
|
|
|
|
|
|
|
|
|
|
Topics: |
Raster Image Functions: Creating and Maintaining Lists of Images |
|
Example
For a short example, refer to L_ProcessPlayback. For complete sample code, refer to the CHILD.C module of the DEMO example.