Partager via


NewResolverReport (Windows Embedded CE 6.0)

1/6/2010

The Resolver plugin calls this Location Framework callback function when it has a new report. A Resolver only calls this function when the Location Framework has made a ResolverGetLocation request.

Syntax

DWORD NewResolverReport( 
  HANDLE resContext, 
  LOCATION_REPORT* pNewReport 
);

Parameters

  • resContext
    [in] Handle of the calling Resolver.
  • pNewReport
    [in] Address of a report structure.

Property Value/Return Value

ERROR_SUCCESS on success, an error code otherwise.

Resolvers should ignore the return code from this function and continue operating even if an error is returned. Resolvers should only stop operation when they receive a call to their ResolverStop export or when they have completed the resolution attempt.

Remarks

This callback will result in a new Resolver report being available for applications of the Location Framework. It will put a plugin into the state PLUGIN_STATE_ON if it was not already in that state for that particular report type.

Requirements

Header lfplugin.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Location Framework Plugin Callback Functions