HyperDbg Debugger
Loading...
Searching...
No Matches
PlatformTime.h
Go to the documentation of this file.
1
12#pragma once
13
14#if defined(__linux__)
16#endif // defined(__linux__)
17
19// Functions //
21
22#if defined(_WIN32) || defined(_WIN64)
23
24VOID
25PlatformTimeQuerySystemTime(PLARGE_INTEGER SystemTime);
26
27VOID
28PlatformTimeConvertToLocalTime(PLARGE_INTEGER SystemTime, PLARGE_INTEGER LocalTime);
29
30VOID
31PlatformTimeConvertToTimeFields(PLARGE_INTEGER Time, PTIME_FIELDS TimeFields);
32
33#endif // defined(_WIN32) || defined(_WIN64)
VOID PlatformTimeConvertToLocalTime(PLARGE_INTEGER SystemTime, PLARGE_INTEGER LocalTime)
Convert system time (UTC) to local time.
Definition PlatformTime.c:50
VOID PlatformTimeQuerySystemTime(PLARGE_INTEGER SystemTime)
Query the current system time.
Definition PlatformTime.c:25
VOID PlatformTimeConvertToTimeFields(PLARGE_INTEGER Time, PTIME_FIELDS TimeFields)
Convert a LARGE_INTEGER time value to a TIME_FIELDS structure.
Definition PlatformTime.c:75