aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Native/MSIFILEHASHINFO.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core.Native/MSIFILEHASHINFO.cs')
-rw-r--r--src/WixToolset.Core.Native/MSIFILEHASHINFO.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/WixToolset.Core.Native/MSIFILEHASHINFO.cs b/src/WixToolset.Core.Native/MSIFILEHASHINFO.cs
new file mode 100644
index 00000000..c11b44ea
--- /dev/null
+++ b/src/WixToolset.Core.Native/MSIFILEHASHINFO.cs
@@ -0,0 +1,19 @@
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
3namespace WixToolset.Core.Native
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 [FieldOffset(0)] public uint FileHashInfoSize;
14 [FieldOffset(4)] public int Data0;
15 [FieldOffset(8)] public int Data1;
16 [FieldOffset(12)] public int Data2;
17 [FieldOffset(16)] public int Data3;
18 }
19}