Partager via


ProviderUnavailable (Windows Embedded CE 6.0)

1/6/2010

The Provider calls this Location Framework implemented callback function if it is unable to determine a position.

Syntax

ProviderUnavailable(
  HANDLE provContext
);

Parameters

  • provContext
    [in] Handle of the calling Provider from the PROVIDER_CONTROL_BLOCK.

Property Value/Return Value

ERROR_SUCCESS on success, an error code otherwise.

Providers should ignore the return code from this function and continue operating even if an error is returned. Providers should only stop operation when they receive a call to their ProviderStop exported function.

Remarks

This call will make the Location Framework indicate to any applications that the reports that this plugin generates are temporarily not available. The Provider will periodically attempt to regenerate reports and will call NewProviderReport when a new report is available.

Requirements

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

See Also

Reference

Location Framework Plugin Callback Functions