ReactOS  0.4.14-dev-376-gaedba84
arcemul.c File Reference
#include <freeldr.h>
Include dependency graph for arcemul.c:

Go to the source code of this file.

Functions

TIMEINFOArcGetTime (VOID)
 
ULONG ArcGetRelativeTime (VOID)
 

Variables

MACHVTBL MachVtbl
 

Function Documentation

◆ ArcGetRelativeTime()

ULONG ArcGetRelativeTime ( VOID  )

Definition at line 33 of file arcemul.c.

34 {
35  TIMEINFO* TimeInfo;
36  ULONG ret;
37 
38  TimeInfo = ArcGetTime();
39  ret = ((TimeInfo->Hour * 24) + TimeInfo->Minute) * 60 + TimeInfo->Second;
40  return ret;
41 }
USHORT Second
Definition: fw.h:16
USHORT Minute
Definition: fw.h:15
Definition: fw.h:9
TIMEINFO * ArcGetTime(VOID)
Definition: arcemul.c:27
int ret
USHORT Hour
Definition: fw.h:14
unsigned int ULONG
Definition: retypes.h:1

◆ ArcGetTime()

TIMEINFO* ArcGetTime ( VOID  )

Definition at line 27 of file arcemul.c.

28 {
29  return MachVtbl.GetTime();
30 }
TIMEINFO *(* GetTime)(VOID)
Definition: machine.h:72
MACHVTBL MachVtbl
Definition: arcemul.c:21

Referenced by ArcGetRelativeTime(), EditCustomBootReactOS(), InitOperatingSystemList(), TuiDisplayMenu(), and TuiUpdateDateTime().

Variable Documentation

◆ MachVtbl