Global Mapper SDK
GM_GetSelectedFeatures
Note: This function is only supported in a Global Mapper Extension DLL.
Any features returned from this function must be freed using a call to GM_FreeFeatureResultList when you are done using them.
Syntax
C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_GetSelectedFeatures
(
GM_FoundFeatureResults_t* aResults, // OUT: Structure that will get list of selected features
GM_SelectFlags_t32 aFlags, // IN: Flags controlling what to select (like areas, lines, points, etc.)
void* aReserved // Reserved for future use; must be 0.
);