FileTime

Detailed Description

Functions

Bool GeGetFileTime (const Filename &name, Int32 mode, LocalFileTime *out)
 
Bool GeSetFileTime (const Filename &name, Int32 mode, const LocalFileTime *in)
 

Function Documentation

◆ GeGetFileTime()

Bool GeGetFileTime ( const Filename name,
Int32  mode,
LocalFileTime out 
)

Gets a file time for the given mode.

Parameters
[in]nameThe filename to get the time for.
[in]modeThe file time mode: GE_FILETIME
[out]outFilled with the file time. The caller owns the pointed file time.
Returns
true if the file time could be retrieved, otherwise false.

◆ GeSetFileTime()

Bool GeSetFileTime ( const Filename name,
Int32  mode,
const LocalFileTime in 
)

Sets the file time for the given mode.

Parameters
[in]nameThe filename to set the time for.
[in]modeThe file time mode: GE_FILETIME
[in]inThe file time to set. The caller owns the pointed file time.
Returns
true if the file time could be set, otherwise false.