Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_GetBitmapListCount
#include "l_bitmap.h"
L_LTKRN_API L_INT L_GetBitmapListCount(hList, puCount)
HBITMAPLIST hList; |
/* handle to the list of bitmaps */ |
L_UINT* puCount; |
/* address of the variable to be updated */ |
Gets the number of bitmaps in a list of bitmaps.
Parameter |
Description |
hList |
Handle to the list of bitmaps. |
puCount |
Address of the variable to be updated. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LTKRN 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, Mobile.
See Also
Example
For a short example, refer to L_GetBitmapListItem. For complete sample code, refer to the CHILD.C module of the DEMO example.