276 Time->Milliseconds = 0;
281 Time->Year += (
Time->Year > 80) ? 1900: 2000;
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
#define _Requires_lock_held_(lock)
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
BOOLEAN NTAPI HalQueryRealTimeClock(OUT PTIME_FIELDS Time)
ARC_STATUS NTAPI HalGetEnvironmentVariable(_In_ PCH Name, _In_ USHORT ValueLength, _Out_writes_z_(ValueLength) PCH Value)
ULONG NTAPI HalpSetCmosData(_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length)
VOID NTAPI HalpInitializeCmos(VOID)
BOOLEAN NTAPI HalSetRealTimeClock(IN PTIME_FIELDS Time)
ARC_STATUS NTAPI HalSetEnvironmentVariable(IN PCH Name, IN PCH Value)
ULONG NTAPI HalpGetCmosData(_In_ ULONG BusNumber, _In_ ULONG SlotNumber, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length)
UCHAR HalpCmosCenturyOffset
KSPIN_LOCK HalpSystemHardwareLock
VOID NTAPI HalpReleaseCmosSpinLock(VOID)
VOID NTAPI HalpAcquireCmosSpinLock(VOID)
VOID NTAPI HalpWriteCmos(_In_ UCHAR Reg, _In_ UCHAR Value)
UCHAR NTAPI HalpReadCmos(_In_ UCHAR Reg)
#define CMOS_CONTROL_PORT
static PLARGE_INTEGER Time
#define _In_reads_bytes_(size)
#define _Out_writes_z_(size)
#define _Out_writes_bytes_(size)
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define READ_PORT_UCHAR(p)
#define WRITE_PORT_UCHAR(p, d)
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG ValueLength
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber