Global Mapper SDK
GM_AddCustomDatum
Adds a new custom datum definition based on the provided GM_DatumInfo_t structure.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_AddCustomDatum
(
const GM_DatumInfo_t* aDatumInfo, // IN: Information about datum transformation to add
DATUM* aDatumCode // OUT: Datum code assigned to new custom datum
)
Remarks
The datum code assigned for the new datum is returned in aDatumCode . If a custom datum with the same name already exists, the parameters for that datum will be updated.