aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Native/MSIFILEHASHINFO.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-08 14:04:05 -0700
committerRob Mensching <rob@firegiant.com>2019-05-08 14:08:34 -0700
commit26b1860dcd8a84b410ab5cd3df7e37104e6ee1b1 (patch)
treeb8723a77f5f4dea52f74ce66ac40d14e5b0fe68d /src/WixToolset.Core.Native/MSIFILEHASHINFO.cs
parentcffb36e86c2993b43ac5bdbded4af063c2963a4f (diff)
downloadwix-26b1860dcd8a84b410ab5cd3df7e37104e6ee1b1.tar.gz
wix-26b1860dcd8a84b410ab5cd3df7e37104e6ee1b1.tar.bz2
wix-26b1860dcd8a84b410ab5cd3df7e37104e6ee1b1.zip
Remove MSI interop from Core.Native
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}