diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-08 14:04:05 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-08 14:08:34 -0700 |
| commit | 26b1860dcd8a84b410ab5cd3df7e37104e6ee1b1 (patch) | |
| tree | b8723a77f5f4dea52f74ce66ac40d14e5b0fe68d /src/WixToolset.Core.Native/MSIFILEHASHINFO.cs | |
| parent | cffb36e86c2993b43ac5bdbded4af063c2963a4f (diff) | |
| download | wix-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.cs | 19 |
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 | |||
| 3 | namespace 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 | } | ||
