diff options
Diffstat (limited to 'src/WixToolset.Core.Native/CabInterop.cs')
-rw-r--r-- | src/WixToolset.Core.Native/CabInterop.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/WixToolset.Core.Native/CabInterop.cs b/src/WixToolset.Core.Native/CabInterop.cs index db31a30d..4c1eb93d 100644 --- a/src/WixToolset.Core.Native/CabInterop.cs +++ b/src/WixToolset.Core.Native/CabInterop.cs | |||
@@ -4,10 +4,7 @@ namespace WixToolset.Core.Native | |||
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Diagnostics.CodeAnalysis; | 6 | using System.Diagnostics.CodeAnalysis; |
7 | using System.Text; | ||
8 | using System.Runtime.InteropServices; | 7 | using System.Runtime.InteropServices; |
9 | // using WixToolset.Msi; | ||
10 | // using WixToolset.Msi.Interop; | ||
11 | 8 | ||
12 | /// <summary> | 9 | /// <summary> |
13 | /// The native methods. | 10 | /// The native methods. |
@@ -34,7 +31,7 @@ namespace WixToolset.Core.Native | |||
34 | /// <param name="token">Name of file in cabinet.</param> | 31 | /// <param name="token">Name of file in cabinet.</param> |
35 | /// <param name="contextHandle">Handle to open cabinet.</param> | 32 | /// <param name="contextHandle">Handle to open cabinet.</param> |
36 | [DllImport("winterop.dll", EntryPoint = "CreateCabAddFile", CharSet = CharSet.Unicode, ExactSpelling = true, PreserveSig = false)] | 33 | [DllImport("winterop.dll", EntryPoint = "CreateCabAddFile", CharSet = CharSet.Unicode, ExactSpelling = true, PreserveSig = false)] |
37 | public static extern void CreateCabAddFile(string file, string token, MsiInterop.MSIFILEHASHINFO fileHash, IntPtr contextHandle); | 34 | public static extern void CreateCabAddFile(string file, string token, MSIFILEHASHINFO fileHash, IntPtr contextHandle); |
38 | 35 | ||
39 | /// <summary> | 36 | /// <summary> |
40 | /// Closes a cabinet. | 37 | /// Closes a cabinet. |