aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/PropVariantConv.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Windows/PropVariantConv.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/CPP/Windows/PropVariantConv.h b/CPP/Windows/PropVariantConv.h
index ec5223b..8782507 100644
--- a/CPP/Windows/PropVariantConv.h
+++ b/CPP/Windows/PropVariantConv.h
@@ -7,6 +7,8 @@
7 7
8// provide at least 32 bytes for buffer including zero-end 8// provide at least 32 bytes for buffer including zero-end
9 9
10extern bool g_Timestamp_Show_UTC;
11
10#define kTimestampPrintLevel_DAY -3 12#define kTimestampPrintLevel_DAY -3
11// #define kTimestampPrintLevel_HOUR -2 13// #define kTimestampPrintLevel_HOUR -2
12#define kTimestampPrintLevel_MIN -1 14#define kTimestampPrintLevel_MIN -1
@@ -14,9 +16,14 @@
14#define kTimestampPrintLevel_NTFS 7 16#define kTimestampPrintLevel_NTFS 7
15#define kTimestampPrintLevel_NS 9 17#define kTimestampPrintLevel_NS 9
16 18
19
20#define kTimestampPrintFlags_Force_UTC (1 << 0)
21#define kTimestampPrintFlags_Force_LOCAL (1 << 1)
22#define kTimestampPrintFlags_DisableZ (1 << 4)
23
17bool ConvertUtcFileTimeToString(const FILETIME &ft, char *s, int level = kTimestampPrintLevel_SEC) throw(); 24bool ConvertUtcFileTimeToString(const FILETIME &ft, char *s, int level = kTimestampPrintLevel_SEC) throw();
18bool ConvertUtcFileTimeToString(const FILETIME &ft, wchar_t *s, int level = kTimestampPrintLevel_SEC) throw(); 25bool ConvertUtcFileTimeToString(const FILETIME &ft, wchar_t *s, int level = kTimestampPrintLevel_SEC) throw();
19bool ConvertUtcFileTimeToString2(const FILETIME &ft, unsigned ns100, char *s, int level = kTimestampPrintLevel_SEC) throw(); 26bool ConvertUtcFileTimeToString2(const FILETIME &ft, unsigned ns100, char *s, int level = kTimestampPrintLevel_SEC, unsigned flags = 0) throw();
20bool ConvertUtcFileTimeToString2(const FILETIME &ft, unsigned ns100, wchar_t *s, int level = kTimestampPrintLevel_SEC) throw(); 27bool ConvertUtcFileTimeToString2(const FILETIME &ft, unsigned ns100, wchar_t *s, int level = kTimestampPrintLevel_SEC) throw();
21 28
22// provide at least 32 bytes for buffer including zero-end 29// provide at least 32 bytes for buffer including zero-end