Structures and Enumeration Types (Location API)

[The Win32 Location API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the Windows.Devices.Geolocation API. ]

The Location API defines the following enumeration types.

Enumeration Description
LOCATION_DESIRED_ACCURACY Defines the possible desired accuracy types.
LOCATION_REPORT_STATUS Defines possible status for new reports of a particular report type.

 

Location Constants from the Sensor API

The Sensor API also defines location-related property keys and constants. The property keys defined in sensors.h can be used to retrieve location data from a report by calling ILocationReport::GetValue.