MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / CreateFileTimeString

Function CreateFileTimeString

Explorer++/Helper/Helper.cpp:26–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 const TCHAR *szVersionInfo, TCHAR *szVersionBuffer, UINT cchMax);
25
26BOOL CreateFileTimeString(const FILETIME *utcFileTime,
27 TCHAR *szBuffer, size_t cchMax, BOOL bFriendlyDate)
28{
29 SYSTEMTIME localSystemTime;
30 BOOL ret = FileTimeToLocalSystemTime(utcFileTime, &localSystemTime);
31
32 if (!ret)
33 {
34 return FALSE;
35 }
36
37 return CreateSystemTimeString(&localSystemTime, szBuffer, cchMax, bFriendlyDate);
38}
39
40BOOL CreateSystemTimeString(const SYSTEMTIME *localSystemTime,
41 TCHAR *szBuffer, size_t cchMax, BOOL bFriendlyDate)

Callers 9

OnInitDialogMethod · 0.85
OnInitDialogMethod · 0.85
FormatDateMethod · 0.85
GetInfoTipAsyncMethod · 0.85
GetTimeColumnTextFunction · 0.85
SaveDirectoryListingMethod · 0.85
CopyDIBV5DataMethod · 0.85
CopyTextToFileMethod · 0.85

Calls 2

CreateSystemTimeStringFunction · 0.85

Tested by

no test coverage detected