9.GetSystemTime
原文:
The
GetSystemTime function retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC).
VOID GetSystemTime(
LPSYSTEMTIME
lpSystemTime
// address of system time structure
);
Parameters
lpSystemTime
Pointer to a
SYSTEMTIME structure to receive the current system date and time.
Return Values
This function does not return a value.
QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winbase.h.
Import Library: Use kernel32.lib.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winbase.h.
Import Library: Use kernel32.lib.
See Also
翻译:
GetSystemTime函数以格林尼治时间形式返回当前系统的日期和时间。
VOID GetSystemTime(
LPSYSTEMTIME
lpSystemTime
//
系统时间结构体地址
);
参数:指向用于接受当前系统时间和日期的结构体的指针。
返回值:无。