Click or drag to resize

GM_LoadLayer (DEPRECATED)

Loads the given file and fills in aLayer with the handle to the layer. The layer handle can be used in other calls into the library. The layer must be closed by calling GM_CloseLayer when the caller is done using it.

This function is deprecated. You should use GM_LoadLayerList as it supports multiple layers being loaded from a single file (this is common with archive files like .zip and .tar.gz as well as multi-map formats like CADRG).

Syntax
GM_Error_t32 GM_LoadLayer
( 
const char*         aFilename,
GM_LayerHandle_t32* aLayer,
GM_LoadFlags_t32    aLoadFlags
);