Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The GPS Intermediate Driver uses the registry to store general configuration information.

Note:
On some target devices, the root GPS Intermediate Driver registry key, and all subkeys, are protected. On these target devices, untrusted applications can read but cannot write GPS Intermediate Driver settings.

The HKEY_LOCAL_MACHINE\ControlPanel\GPS Settingskey contains an entry that identifies the name of the GPS interface software. The following table shows the registry entries.

Value : type Description

Name: RED_SZ

Default value is "External GPS" that is the default name. This value may be changed.

The HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driverkey contains entries that controls whether the GPS Intermediate Driver is used or not. It also contains entries useful for obtaining a log of the raw location data retrieved from GPS hardware. The following table shows the registry entries.

Value : type Description

IsEnabled: REG_DWORD

Default setting is 1, which enables the GPS Intermediate Driver.

Whether the GPS Intermediate Driver is enabled. If the value of this entry is 1, the GPS Intermediate Driver is enabled. If the value of this entry is 0, the GPS Intermediate Driver will be loaded but won't accept connections from applications or use any GPS hardware.

CurrentLogFile: REG_SZ

No default setting.

Path and filename to which raw GPS data retrieved from the GPS hardware is written. This may be useful for debugging.

If this entry is not set, no logging is performed.

Security Note:
This and the related OldLogFileand MaxLogFileSizeregistry entries are intended for development use only. A log of location data, like the one enabled by these registry settings, defines where a particular device has been and can be a major privacy concern.

OldLogFile: REG_SZ

No default setting.

Path and filename to a file used when the file specified by CurrentLogFilereaches the size specified in MaxLogFileSize. When this limit is reached, the GPS Intermediate Driver renames the original file to the name specified by this registry entry.

If this entry is not set, no logging is performed.

Security Note:
This and the related CurrentLogFileand MaxLogFileSizeregistry entries are intended for development use only. A log of location data, like the one enabled by these registry settings, defines where a particular device has been and can be a major privacy concern.

MaxLogFileSize: REG_DWORD

Default setting is 32,768 bytes.

Maximum size, in bytes, of the file identified by the CurrentLogFileregistry entry. If the file grows to larger than this value, the GPS Intermediate Driver automatically renames the file to the filename specified in the OldLogFileentry and then continues writing data to a new file with the original name.

If this entry is 0, no logging is performed.

Security Note:
This and the related CurrentLogFileand OldLogFileregistry entries are intended for development use only. A log of location data, like the one enabled by these registry settings, defines where a particular device has been and can be a major privacy concern.

The HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Driverskey contains an entry for configuration of plug and play. The following table shows the registry entry.

Note:
The Driverskey also contains entries to specify the current input source. For more information about these entries, see GPS Intermediate Driver Input Source Registry Settings.

Value : type Description

AllowPlugAndPlay: REG_DWORD

Default setting is 1, which enables automatic configuration of GPS hardware that supports plug and play.

Whether the GPS Intermediate Driver automatically configures GPS hardware that supports plug and play. If this entry is 1, the GPS Intermediate Driver can automatically configure GPS hardware that supports plug and play. If this entry is 0, the GPS Intermediate Driver never automatically configures GPS hardware.

For more information about the implementation of plug and play with the GPS Intermediate Driver, see Implementing Plug and Play GPS Hardware.

See Also