Retrieves the date and time of the previous successful security validation.
UINT CWB_ENTRY cwbCO_GetPrevSignonDate( cwbCO_SysHandle system, cwb_DateTime *signonDateTime);
Bytes | Content |
---|---|
1 - 2 | Year (Example: 1998 = 0x07CF) |
3 | Month (January = 0x01) |
4 | Day (First day = 0x01;31st day = 0x1F) |
5 | Hour (Midnight = 0x00;23rd hour = 0x17) |
6 | Minute (On the hour = 0x00; 59th minute = 0x3B) |
7 | Second (On the minute = 0x00; 59th second = 0x3B) |
8 | One-hundredth of a second (on the second = 0x00; maximum = 0x63) |
The following list shows common return values.
You successfully must have called cwbCO_VerifyUserIDPassword, cwbCO_Signon, or cwbCO_Connect before using this API. If you want to ensure that the value that is returned is recent, you either must call cwbCO_VerifyUserIDPassword explicitly, or set the Validate Mode to CWBCO_VALIDATE_ALWAYS before you call cwbCO_Signon or cwbCO_Connect.