aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Native/Msm/IMsmConfigureModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core.Native/Msm/IMsmConfigureModule.cs')
-rw-r--r--src/WixToolset.Core.Native/Msm/IMsmConfigureModule.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/WixToolset.Core.Native/Msm/IMsmConfigureModule.cs b/src/WixToolset.Core.Native/Msm/IMsmConfigureModule.cs
new file mode 100644
index 00000000..468fb1fc
--- /dev/null
+++ b/src/WixToolset.Core.Native/Msm/IMsmConfigureModule.cs
@@ -0,0 +1,32 @@
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.Msm
4{
5 using System;
6 using System.Runtime.InteropServices;
7
8 /// <summary>
9 /// Callback for configurable merge modules.
10 /// </summary>
11 [ComImport, Guid("AC013209-18A7-4851-8A21-2353443D70A0"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
12 public interface IMsmConfigureModule
13 {
14 /// <summary>
15 /// Callback to retrieve text data for configurable merge modules.
16 /// </summary>
17 /// <param name="name">Name of the data to be retrieved.</param>
18 /// <param name="configData">The data corresponding to the name.</param>
19 /// <returns>The error code (HRESULT).</returns>
20 [PreserveSig]
21 int ProvideTextData([In, MarshalAs(UnmanagedType.BStr)] string name, [MarshalAs(UnmanagedType.BStr)] out string configData);
22
23 /// <summary>
24 /// Callback to retrieve integer data for configurable merge modules.
25 /// </summary>
26 /// <param name="name">Name of the data to be retrieved.</param>
27 /// <param name="configData">The data corresponding to the name.</param>
28 /// <returns>The error code (HRESULT).</returns>
29 [PreserveSig]
30 int ProvideIntegerData([In, MarshalAs(UnmanagedType.BStr)] string name, out int configData);
31 }
32}