diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/timeutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/timeutil.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/timeutil.h b/src/libs/dutil/WixToolset.DUtil/inc/timeutil.h new file mode 100644 index 00000000..3655c00a --- /dev/null +++ b/src/libs/dutil/WixToolset.DUtil/inc/timeutil.h | |||
@@ -0,0 +1,38 @@ | |||
1 | #pragma once | ||
2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
3 | |||
4 | |||
5 | #ifdef __cplusplus | ||
6 | extern "C" { | ||
7 | #endif | ||
8 | |||
9 | HRESULT DAPI TimeFromString( | ||
10 | __in_z LPCWSTR wzTime, | ||
11 | __out FILETIME* pFileTime | ||
12 | ); | ||
13 | HRESULT DAPI TimeFromString3339( | ||
14 | __in_z LPCWSTR wzTime, | ||
15 | __out FILETIME* pFileTime | ||
16 | ); | ||
17 | HRESULT DAPI TimeCurrentTime( | ||
18 | __deref_out_z LPWSTR* ppwz, | ||
19 | __in BOOL fGMT | ||
20 | ); | ||
21 | HRESULT DAPI TimeCurrentDateTime( | ||
22 | __deref_out_z LPWSTR* ppwz, | ||
23 | __in BOOL fGMT | ||
24 | ); | ||
25 | HRESULT DAPI TimeSystemDateTime( | ||
26 | __deref_out_z LPWSTR* ppwz, | ||
27 | __in const SYSTEMTIME *pst, | ||
28 | __in BOOL fGMT | ||
29 | ); | ||
30 | HRESULT DAPI TimeSystemToDateTimeString( | ||
31 | __deref_out_z LPWSTR* ppwz, | ||
32 | __in const SYSTEMTIME *pst, | ||
33 | __in LCID locale | ||
34 | ); | ||
35 | |||
36 | #ifdef __cplusplus | ||
37 | } | ||
38 | #endif | ||