PNDEVICE
This structure contains a Global Positioning System (GPS) device profile. In the case of multiple devices, the last element in the structure is a pointer to another PNDEVICE structure, and can be used to form a linked list of structures.
Syntax
typedef struct tagPNDEVICE{
DWORD dwStructureSize;
WCHAR szManufacturer[PN_MNFCT_SIZE_c];
WCHAR szModel[PN_MODEL_SIZE_c];
PNReceiver_t rtReceiverType;
DWORD dwUseCount;
DWORD dwQuality;
WCHAR szComPort[PN_COM_PORT_LEN_c];
WCHAR szRegRoot[PN_REG_PATH_LEN_c];
DWORD dwComPort;
DWORD dwPNReserved;
struct tagPNDEVICE* pNext;
} PNDEVICE;
Members
- dwStructureSize
- Specifies the size, in bytes, of the PNDEVICE structure
- szManufacturer
- Unsupported
- szModel
- Null-terminated string that contains the GPS chip manufacture and model name
- rtReceiverType
- Unsupported
- dwUseCount
- Specifies the number of applications currently using this device
- dwQuality
- Specifies the quality of data this device can deliver; the lower the number, the higher the quality. It is one of the following values:
- 100
- Specifies the highest quality service. Supports all features of the position and navigation API (PNAPI).
- 200
- Specifies the Rockwell/Trimble binary standard. Supports most PNAPI features.
- 300
- Specifies the Garmin standard. Supports fewer features than 200.
- 400
- Specifies the National Marine Electronics Association (NMEA) version 2.1 standard. Supports some features.
- 500
- Specifies the NMEA version 2.0 or version 1.5 standard
- 600
- Specifies the NMEA version 1.0 standard
- 700
- Specifies support for basic position information, including altitude
- 800
- Specifies the ability to give position, but not necessarily altitude
- 900
- Specifies very basic support
- szComPort
- Unsupported
- szRegRoot
- For PNAPI internal use
- pNext
- Pointer to the next structure in a linked list for multiple devices
- dwComPort
- Specifies the COM port in numerical format
- dwPNReserved
- Reserved for future use