diff options
Diffstat (limited to 'src/wix/WixToolset.Core.Native/Msi/MSIFILEHASHINFO.cs')
-rw-r--r-- | src/wix/WixToolset.Core.Native/Msi/MSIFILEHASHINFO.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/wix/WixToolset.Core.Native/Msi/MSIFILEHASHINFO.cs b/src/wix/WixToolset.Core.Native/Msi/MSIFILEHASHINFO.cs new file mode 100644 index 00000000..ae88ec7e --- /dev/null +++ b/src/wix/WixToolset.Core.Native/Msi/MSIFILEHASHINFO.cs | |||
@@ -0,0 +1,34 @@ | |||
1 | // 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. | ||
2 | |||
3 | namespace WixToolset.Core.Native.Msi | ||
4 | { | ||
5 | using System.Runtime.InteropServices; | ||
6 | |||
7 | /// <summary> | ||
8 | /// contains the file hash information returned by MsiGetFileHash and used in the MsiFileHash table. | ||
9 | /// </summary> | ||
10 | [StructLayout(LayoutKind.Explicit)] | ||
11 | public class MSIFILEHASHINFO | ||
12 | { | ||
13 | /// <summary> | ||
14 | /// | ||
15 | /// </summary> | ||
16 | [FieldOffset(0)] public uint FileHashInfoSize; | ||
17 | /// <summary> | ||
18 | /// | ||
19 | /// </summary> | ||
20 | [FieldOffset(4)] public int Data0; | ||
21 | /// <summary> | ||
22 | /// | ||
23 | /// </summary> | ||
24 | [FieldOffset(8)] public int Data1; | ||
25 | /// <summary> | ||
26 | /// | ||
27 | /// </summary> | ||
28 | [FieldOffset(12)] public int Data2; | ||
29 | /// <summary> | ||
30 | /// | ||
31 | /// </summary> | ||
32 | [FieldOffset(16)] public int Data3; | ||
33 | } | ||
34 | } | ||