Share via


LocationGetResolversInfo

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function retrieves information about all loaded Resolver DLLs on the system.

Syntax

DWORD LocationGetResolversInfo(
    HLOCATION             hLocation,
    RESOLVER_INFORMATION* pResolvers,
    DWORD*                pcbBuffer
);

Parameters

  • hLocation
    A handle to the Location Framework returned from a call to LocationOpen.
  • pResolvers
    Pointer to a structure to contain information about loaded Resolvers.
  • pcbBuffer
    On input, specifies the number of bytes the application has allocated for pResolvers. On output, indicates the number of bytes required.

Return Value

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

Remarks

All loaded Resolvers are returned in the pResolvers array, even those that may be in the error state. Resolvers that failed to load because of registry configuration errors or failure to load the DLL are not included in this list.

Requirements

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

See Also

Reference

Location Framework Functions
LocationOpen