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 returns the date and time since the last packet was received.
Syntax
unsigned long GetLastReceived();
Parameters
None.
Return Value
Returns the date-time field. The bits in this field are represented as follows:
| Bits in this field | Description |
|---|---|
First 6 bits |
Contains the years since 2000. |
Next 4 bits |
Contains the month of the year. |
Next 5 bits |
Contains the day of the month. |
Next 5 bits |
Contains the hour of the day. |
Next 6 bits |
Contains the minute of the hour. |
Next 6 bits |
Contains the second of the minute. |
Remarks
For an example of how you can process the return value to determine the date and time when the last packet was received, see SubscriberHandler.cpp in the MSN Direct sample application.
Requirements
| Header | DBRLib.h |
| Library | DBRLib.lib |
| Windows Embedded CE | Windows CE 5.0, Windows Embedded NavReady 2009 |