ILocationPower::Disconnect method

Used by Windows Store app browsers in Windows 8 to notify the location platform that an app has been suspended (disconnect) and restored (connect).

Most apps will not need to use this method.

Syntax


HRESULT Disconnect();

Parameters

This method has no parameters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

LocationApi.h

IDL

LocationApi.idl

DLL

LocationAPI.dll

See also

ILocationPower

 

 

Community Additions

ADD
Show:
© 2014 Microsoft