diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-22 06:38:23 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-04-29 16:21:09 -0700 |
commit | 7f642e51670bc38a4ef782a363936850bc2b0ba9 (patch) | |
tree | 19684b2d94979f130c0935328f0d44cf006e45ef /src/libs/dutil/WixToolset.DUtil/inc/timeutil.h | |
parent | f39e7a3e164d0736e45049e5726d0da2013da3c9 (diff) | |
download | wix-7f642e51670bc38a4ef782a363936850bc2b0ba9.tar.gz wix-7f642e51670bc38a4ef782a363936850bc2b0ba9.tar.bz2 wix-7f642e51670bc38a4ef782a363936850bc2b0ba9.zip |
Move dutil into libs/dutil
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 | ||