GetSystemTimeAsFileTime  6BB6VD 

The GetSystemTimeAsFileTime function obtains the current system date and time. The information is in Coordinated Universal Time (UTC) format.

VOID GetSystemTimeAsFileTime(

    LPFILETIME lpSystemTimeAsFileTime

// pointer to a file time structure 

   );

 

 

Parameters

lpSystemTimeAsFileTime

Pointer to a FILETIMEA44M8H structure to receive the current system date and time in UTC format.

 

Return Values

This function does not return a value.

Remarks

The GetSystemTimeAsFileTime function is equivalent to the following code sequence:

FILETIME ft;

SYSTEMTIME st;

 

GetSystemTime(&st);

SystemTimeToFileTime(&st,&ft);

 

See Also

FILETIME, GetSystemTime, SYSTEMTIME, SystemTimeToFileTime