Reference

NtQuerySystemTime(3w)

NAME

NtQuerySystemTime (NTDLL.@)

SYNOPSIS

NTSTATUS NtQuerySystemTime
(
PLARGE_INTEGER Time
)

DESCRIPTION

Get the current system time.

PARAMS

Time [Out] Destination for the current system time.

RETURNS

Success: STATUS_SUCCESS.

Failure: An NTSTATUS error code indicating the problem.

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/time.c".

Debug channel "ntdll".

History