From 26b1860dcd8a84b410ab5cd3df7e37104e6ee1b1 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 8 May 2019 14:04:05 -0700 Subject: Remove MSI interop from Core.Native --- src/WixToolset.Core.Native/MSIFILEHASHINFO.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/WixToolset.Core.Native/MSIFILEHASHINFO.cs (limited to 'src/WixToolset.Core.Native/MSIFILEHASHINFO.cs') 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 @@ +// 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. + +namespace WixToolset.Core.Native +{ + using System.Runtime.InteropServices; + + /// + /// contains the file hash information returned by MsiGetFileHash and used in the MsiFileHash table. + /// + [StructLayout(LayoutKind.Explicit)] + public class MSIFILEHASHINFO + { + [FieldOffset(0)] public uint FileHashInfoSize; + [FieldOffset(4)] public int Data0; + [FieldOffset(8)] public int Data1; + [FieldOffset(12)] public int Data2; + [FieldOffset(16)] public int Data3; + } +} -- cgit v1.2.3-55-g6feb