Undocumented functions of NTDLL

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.



Requirements:
Library: ntdll.lib
Privilege: SE_SYSTEMTIME_PRIVILEGE


See also:
NtQuerySystemTime
RtlTimeFieldsToTime
RtlTimeToTimeFields