Share via


ResolverUnInitialize (Windows Embedded CE 6.0)

1/6/2010

A Resolver DLL implements this function. The Location Framework calls this export during service shutdown.

Syntax

DWORD  ResolverUnInitialize(void);

Parameters

There are no parameters.

Return Value

Return values from this function are ignored.

Remarks

This function is called immediately before the Location Framework unloads the Resolver DLL. Cleanup operations that are not safe to be called from the Resolvers DLLMain (such as thread related, COM, winsock, etc…) must be called in this function.

If the Resolver has spun up any worker threads, it must block until all of them come to a halt in this function. Failure to do so can cause a crash because the worker threads will attempt to execute on code pages that have been freed when the library was unloaded.

Requirements

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

See Also

Reference

Location Framework Plugin Functions