Export (0) Print
Expand All

IDefaultLocation interface

[IDefaultLocation is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

IDefaultLocation provides methods used to specify or retrieve the default location.

Members

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

Methods

The IDefaultLocation interface has these methods.

MethodDescription
GetReport

Gets the report from the default location provider.

SetReport

Sets the report that the default location provider returns.

 

Remarks

Note  An application does not receive the expected location change event from OnLocationChanged if both of the following conditions are true. First, the application runs as a service, in the context of the LOCALSERVICE, SYSTEM, or NETWORKSERVICE user account. Second, the location change event results from changing the default location, either manually when the user selects Default Location in Control Panel, or programmatically when an application calls IDefaultLocation::SetReport.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

Header

LocationApi.h

DLL

LocationAPI.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft