uLib
User mode C/C++ extended API library for Win32 programmers.
|
Additional FILETIME and SYSTEMTIME functions.
Groups | |
Filetime Arithmetic | |
Functions | |
SYSTEMTIME * | SystemTimeToLocalTime (INOUT SYSTEMTIME *Time) |
SYSTEMTIME * | LocalTimeToSystemTime (INOUT SYSTEMTIME *Time) |
FILETIME | FileTimeToLocalTime (FILETIME utc) |
SYSTEMTIME* SystemTimeToLocalTime | ( | INOUT SYSTEMTIME * | Time | ) |
SystemTimeToLocalTime converts a UTC time to local time.
If the conversion succeeds, the passed-in pointer is returned, else NULL.
The result is returned in-place in the passed in struct.
SYSTEMTIME* LocalTimeToSystemTime | ( | INOUT SYSTEMTIME * | Time | ) |
LocalTimeToSystemTime converts a local time to UTC time.
If the conversion succeeds, the passed-in pointer is returned, else NULL.
The result is returned in-place in the passed in struct.
FILETIME FileTimeToLocalTime | ( | FILETIME | utc | ) |
FileTimeToLocalTime converts a UTC filetime to local time.
If the conversion fails, the function returns a null filetime,
See also [MSDN] FileTimeToLocalFileTime().
Definition at line 692 of file KernelUtil.cpp.