ILocationEvents interface (locationapi.h)

[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. ]

ILocationEvents provides callback methods that you must implement if you want to receive event notifications.

Inheritance

The ILocationEvents interface inherits from the IUnknown interface. ILocationEvents also has these types of members:

Methods

The ILocationEvents interface has these methods.

 
ILocationEvents::OnLocationChanged

Called when a new location report is available.
ILocationEvents::OnStatusChanged

Called when a report status changes.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header locationapi.h