diff --git a/Source/Time/AuClock.cpp b/Source/Time/AuClock.cpp index b0e0341c..e255f155 100644 --- a/Source/Time/AuClock.cpp +++ b/Source/Time/AuClock.cpp @@ -305,7 +305,7 @@ namespace Aurora::Time #if defined(AURORA_IS_MODERNNT_DERIVED) FILETIME creation, exit, kernel, user; - if (::GetProcessTimes(GetCurrentThread(), &creation, &exit, &kernel, &user)) + if (::GetProcessTimes(GetCurrentProcess(), &creation, &exit, &kernel, &user)) { ULARGE_INTEGER ullUser; { @@ -335,7 +335,7 @@ namespace Aurora::Time #if defined(AURORA_IS_MODERNNT_DERIVED) FILETIME creation, exit, kernel, user; - if (::GetProcessTimes(GetCurrentThread(), &creation, &exit, &kernel, &user)) + if (::GetProcessTimes(GetCurrentProcess(), &creation, &exit, &kernel, &user)) { ULARGE_INTEGER ullUser; {