Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
[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. ]
IDefaultLocation provides methods used to specify or retrieve the default location.
Inheritance
The IDefaultLocation interface inherits from the IUnknown interface. IDefaultLocation also has these types of members:
Methods
The IDefaultLocation interface has these methods.
| IDefaultLocation::GetReport  Retrieves the specified report type from the default location provider.  | 
| IDefaultLocation::SetReport  Sets the default location.  | 
Remarks
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] | 
| Minimum supported server | None supported | 
| Target Platform | Windows | 
| Header | locationapi.h |