This method releases a handle to a coordinate system. Such a handle can be obtained using ICoordSys::GetCSHandle().
HRESULT ReleaseCSHandle(
[in] long CSHandle)
Parameters:
CSHandle – Handle to coordinate system.
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |
TE_E_MPTNOTLOADED |
An MPT file must be loaded in TerraExplorer for this method to work. |
TE_E_COORDSYS_NOT_INIT |
Reprojection error. The key component geocalc.dat may be missing |
TE_E_NOLICENSE |
You are running TerraExplorer Viewer and therefore do not have permission to work with this interface. |