FileTime 函数

详细描述

函数

Bool   GeGetFileTime (const Filename &name, Int32 模式, 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 .

参数
[in] name The filename to get the time for.
[in] mode The file time mode: GE_FILETIME
[out] out Filled with the file time. The caller owns the pointed file time.
返回
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 .

参数
[in] name The filename to set the time for.
[in] mode The file time mode: GE_FILETIME
[in] in The file time to set. The caller owns the pointed file time.
返回
true if the file time could be set, otherwise false .