CoFileTimeNow

Returns the current time as a FILETIME structure.

HRESULT CoFileTimeNow(

FILETIME * lpFileTime

//Pointer to return the structure

);

Parameter

lpFileTime
[out] Pointer to return the FILETIME structure.

Return Values

S_OK
The current time was converted to a FILETIME structure.

See Also

CoDosDateTimeToFileTime, CoFileTimeToDosDateTime