GetUserUnits

This method provides the client with information about the unit settings in the user interface. This method is useful if the client has a user interface and is interested in working with the same units as the TerraExplorer user interface.

Note:     This has no effect on the units that are actually being passed to a COM method call, which should always be as described in the Units topic.

 

HRESULT GetUserUnits(

[out] VARIANT* shortSpeed,

[out] VARIANT* shortAltitude,

[out] VARIANT* shortAltitudeType,

[out] VARIANT* shortLatLongType)

Parameters:

Return Values:

S_OK if the method call succeeded.