L_GetMarkerCount

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_GetMarkerCount(hMarkers, puCount)

HANDLE hMarkers;

/* marker handle */

L_UINT L_FAR * puCount;

/* number of markers */

Gets the number of markers contained in the specified collection.

Parameter

Description

hMarkers

Handle to a collection of metadata markers. This handle is created by either the L_LoadMarkers function or the L_CreateMarkers function.

puCount

Pointer to a variable to be updated with the number of markers in the collection. This cannot be NULL.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTFIL

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_LoadMarkers, L_CreateMarkers, L_InsertMarker, L_EnumMarkers, L_GetMarker

Topics:

Raster Image Functions: Markers

 

Working with Markers

Example

For an example, refer to L_GetMarker.