Location Framework Plugin Functions (Windows Embedded CE 6.0)
1/6/2010
For the Location Framework to function it must make requests to the Provider and Resolver services inside the plugin DLL. The plugin writer must provide these interfaces.
For communicating back to the Location Framework the pluigin dll should use one of the callback functions, see Location Framework Plugin Callback Functions.
In This Section
The following table shows the functions that the Provider and Resolver plugins must implement for the Location Framework to call. Each interface has a description of its intended purpose.
Programming element | Description |
---|---|
This function tells the Provider to begin to determine the location. |
|
This function is called immediately after the Provider DLL is loaded. All Providers are loaded when the Location Framework loads or restarts. |
|
This function will pass control codes directly to the Provider's handle. |
|
This function closes direct access to the Provider. |
|
This function will return a handle to a Provider for direct access. |
|
This function tells the Provider it is no longer required. It must shutdown and return from ProviderGetLocation as soon as possible. |
|
This function indicates that the Provider is about to be unloaded and must block until all this Provider's created threads are stopped. |
|
This function is called when the Location Framework needs this Resolver to resolve a specific report. |
|
This function is called immediately after the Resolver DLL is loaded. |
|
This function will pass control codes directly to the Resolver's handle. |
|
This function closes direct access to the Resolver. |
|
This function will return a handle to a Resolver for direct access. |
|
This function tells the Resolver it is no longer required. It must shutdown and return from ResolverGetLocation if is is running. |
|
This function tells the Resolver that it is about to be unloaded. This function must block until all worker threads the Resolver has created are stopped. |
See Also
Reference
Location Framework Plugin Reference
Location Framework Plugin Callback Functions
Location Framework Plugin Structures