2OO1, 17 February
NtSetSystemTime
NtSetSystemTime
NTSYSAPI
NTSTATUS
NTAPI
NtSetSystemTime(
IN PLARGE_INTEGER SystemTime,
OUT PLARGE_INTEGER PreviousTime OPTIONAL );
Function NtSetSystemTime sets system time. See
NtQuerySystemTime
for detailed information.
- SystemTime Pointer to
LARGE_INTEGER contains UTC time to set.
- PreviousTime Optionally receives time
before change.
- Documented by:
- Tomasz Nowak
Requirements:
- Library: ntdll.lib
- Privilege: SE_SYSTEMTIME_PRIVILEGE
See also:
- NtQuerySystemTime
- RtlTimeFieldsToTime
- RtlTimeToTimeFields