Reference

NtSetSystemTime(3w)

NAME

NtSetSystemTime (NTDLL.@)

SYNOPSIS

NTSTATUS NtSetSystemTime
(
const LARGE_INTEGER* NewTime,
LARGE_INTEGER* OldTime
)

DESCRIPTION

Set the system time.

PARAMS

NewTime [In] The time to set.

OldTime [Out] Optional destination for the previous 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