Compartilhar via


GPS Intermediate Driver General Registry Settings

A version of this page is also available for

Windows Embedded CE 6.0 R3

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 Settings key 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 Driver key 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.

Bb202034.security(en-us,MSDN.10).gifSecurity Note:
This and the related OldLogFile and MaxLogFileSize registry 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 CurrentLogFile reaches 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.

Bb202034.security(en-us,MSDN.10).gifSecurity Note:
This and the related CurrentLogFile and MaxLogFileSize registry 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 CurrentLogFile registry entry. If the file grows to larger than this value, the GPS Intermediate Driver automatically renames the file to the filename specified in the OldLogFile entry and then continues writing data to a new file with the original name.

If this entry is 0, no logging is performed.

Bb202034.security(en-us,MSDN.10).gifSecurity Note:
This and the related CurrentLogFile and OldLogFile registry 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\Drivers key contains an entry for configuration of plug and play. The following table shows the registry entry.

Note

The Drivers key 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

Concepts

GPS Intermediate Driver Registry Settings