Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
.gif)
10/16/2008
This method sets the compass heading, in degrees.
Syntax
void SetHeading(
unsigned short Degrees
);
Parameters
- Degrees
[in] Indicates the compass heading, in degrees.
Return Value
Returns the heading, in degrees.
Returns 0xFFFF when the heading is not available.
Remarks
The compass-heading value indicates which direction you are moving toward by comparing your current location to a previous location recently detected.
You can use GPS technology to retrieve the compass-heading value that you pass into this method.
Requirements
| Header | DBRLib.h |
| Library | DBRLib.lib |
| Windows Embedded CE | Windows CE 5.0, Windows Embedded NavReady 2009 |
See Also
Reference
LocationMsg::SetVoidHeading
LocationMsg Class
MSN Direct Services Classes