VOID GetSystemTime(lpst) | |||||
LPSYSTEMTIME lpst; | /* address of system time structure | */ |
The GetSystemTime function retrieves the current system date and time.
lpst
Points to a SYSTEMTIME structure that receives the current system date and time.
The SYSTEMTIME structure has the following form:
typedef struct _SYSTEMTIME { /* st */
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
} SYSTEMTIME;
typedef SYSTEMTIME *PSYSTEMTIME, *LPSYSTEMTIME;
This function does not return a value.
SetSystemTime