aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Native/IWindowsInstallerValidatorCallback.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core.Native/IWindowsInstallerValidatorCallback.cs')
-rw-r--r--src/WixToolset.Core.Native/IWindowsInstallerValidatorCallback.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/WixToolset.Core.Native/IWindowsInstallerValidatorCallback.cs b/src/WixToolset.Core.Native/IWindowsInstallerValidatorCallback.cs
new file mode 100644
index 00000000..f4aff134
--- /dev/null
+++ b/src/WixToolset.Core.Native/IWindowsInstallerValidatorCallback.cs
@@ -0,0 +1,27 @@
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 /// <summary>
6 /// Callbacks during validation.
7 /// </summary>
8 public interface IWindowsInstallerValidatorCallback
9 {
10 /// <summary>
11 /// Indicates if the validator callback encountered an error.
12 /// </summary>
13 bool EncounteredError { get; }
14
15 /// <summary>
16 /// Validation blocked by another Windows Installer operation.
17 /// </summary>
18 void ValidationBlocked();
19
20 /// <summary>
21 /// Validation message from an ICE.
22 /// </summary>
23 /// <param name="message">The validation message.</param>
24 /// <returns>True if validation should continue; otherwise cancel the validation.</returns>
25 bool ValidationMessage(ValidationMessage message);
26 }
27}