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.

See Also

Functions:

L_LoadBitmapList, L_SaveBitmapList, L_CreateBitmapList, L_DestroyBitmapList, L_CopyBitmapListItems, L_InsertBitmapListItem, L_RemoveBitmapListItem, L_DeleteBitmapListItems, L_GetBitmapListItem, L_SetBitmapListItem, L_ColorResBitmapList, L_TranslateBitmapColor

Topics:

Raster Image Functions: Playing Animated Images

 

Implementing Animation

Example

For a short example, refer to L_GetBitmapListItem. For complete sample code, refer to the CHILD.C module of the DEMO example.