Global Mapper SDK
GM_SaveWorkspace
Saves the current list of loaded layers and display options to a workspace (GMW) file. You can load a workspace file using any of the GM_LoadLayer* functions.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SaveWorkspace
(
const char* aFilename, // IN: name of workspace file to save
void* aReserved // IN: reserved for later use, must be NULL
);