SubscriberStatusMsg::GetSubKey

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the date and time since the last service key was received.

Syntax

unsigned long GetSubKey();

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

See Also

Reference

SubscriberStatusMsg Class
MSN Direct Services Classes