aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/PropVariantConv.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-14 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-15 23:55:04 +0500
commitfc662341e6f85da78ada0e443f6116b978f79f22 (patch)
tree1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /CPP/Windows/PropVariantConv.h
parent5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff)
download7zip-24.05.tar.gz
7zip-24.05.tar.bz2
7zip-24.05.zip
24.0524.05
Diffstat (limited to 'CPP/Windows/PropVariantConv.h')
-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