Share via


LocationUnRegisterForReport

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function indicates that an application no longer requires the Location Framework to determine the position of the device in the specified report type.

Syntax

DWORD LocationUnRegisterForReport(
    HLOCATION hLocation,
    REFGUID   reportType,
    DWORD     flags
);

Parameters

  • hLocation
    A handle to the Location Framework returned from a call to LocationOpen.
  • reportType
    GUID indicating the report type that this application no longer requires updates for. When the last application calls this function for a given report type, the Location Framework will stop any plugins required for generating it.
  • flags
    Reserved. Must be 0.

Return Value

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

Requirements

Header lfapi.h
Library lfapi.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Location Framework Functions
LocationOpen