PinCRT
|
Functions | |
OS_RETURN_CODE | OS_Time (UINT64 *CurrentTime) |
OS_RETURN_CODE | OS_GetDefaultTimeZone (CHAR *tzname, USIZE buflen) |
OS_RETURN_CODE OS_GetDefaultTimeZone | ( | CHAR * | tzname, |
USIZE | buflen | ||
) |
Retrieves a string containing the default timezone for the current host.
[out] | tzname | Points to a buffer that will be filled with the timezone string. |
[in] | buflen | Size in bytes of the buffer provided for the 'tzname' argument. |
OS_RETURN_CODE_NO_ERROR | If the operation succeeded |
OS_RETURN_CODE_TIME_QUERY_FAILED | If the operation failed |
OS_RETURN_CODE OS_Time | ( | UINT64 * | CurrentTime | ) |
Retrieves current time in 1us ticks since 1970.
[out] | CurrentTime | Current time |
OS_RETURN_CODE_NO_ERROR | If the operation succeeded |
OS_RETURN_CODE_TIME_QUERY_FAILED | If the operation failed |