Click or drag to resize

GM_LoadLayerList

Loads the given file and fills in aLayerList with a pointer to a list of layer handles. The number of layers returned in the list is placed in aNumLoadedLayers.

The layer handles can be used in other calls into the library. Each layer handle must be closed by calling GM_CloseLayer when the caller is done using it.

Note that the pointer returned in aLayerList is a temporary pointer that will be invalidated the next time that GM_LoadLayerList is called. The layer handles should be copied out of the returned layer list into local storage of some kind.

Syntax
GM_Error_t32 GM_LoadLayerList
( 
const char*             aFilename,
GM_LayerHandle_t32**    aLayerList,
uint32*                 aNumLoadedLayers,
GM_LoadFlags_t32        aLoadFlags
);