aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/PropVariantConv.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Windows/PropVariantConv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/CPP/Windows/PropVariantConv.h b/CPP/Windows/PropVariantConv.h
index 390e0b8..6067784 100644
--- a/CPP/Windows/PropVariantConv.h
+++ b/CPP/Windows/PropVariantConv.h
@@ -10,11 +10,14 @@
10#define kTimestampPrintLevel_DAY -3 10#define kTimestampPrintLevel_DAY -3
11// #define kTimestampPrintLevel_HOUR -2 11// #define kTimestampPrintLevel_HOUR -2
12#define kTimestampPrintLevel_MIN -1 12#define kTimestampPrintLevel_MIN -1
13#define kTimestampPrintLevel_SEC 0 13#define kTimestampPrintLevel_SEC 0
14#define kTimestampPrintLevel_NTFS 7 14#define kTimestampPrintLevel_NTFS 7
15#define kTimestampPrintLevel_NS 9
15 16
16bool ConvertUtcFileTimeToString(const FILETIME &ft, char *s, int level = kTimestampPrintLevel_SEC) throw(); 17bool ConvertUtcFileTimeToString(const FILETIME &ft, char *s, int level = kTimestampPrintLevel_SEC) throw();
17bool ConvertUtcFileTimeToString(const FILETIME &ft, wchar_t *s, int level = kTimestampPrintLevel_SEC) throw(); 18bool 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();
20bool ConvertUtcFileTimeToString2(const FILETIME &ft, unsigned ns100, wchar_t *s, int level = kTimestampPrintLevel_SEC) throw();
18 21
19// provide at least 32 bytes for buffer including zero-end 22// provide at least 32 bytes for buffer including zero-end
20// don't send VT_BSTR to these functions 23// don't send VT_BSTR to these functions