diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs b/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs index 530fb1a9..e6e03906 100644 --- a/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs +++ b/src/api/burn/WixToolset.Mba.Core/IBootstrapperApplication.cs | |||
@@ -500,12 +500,12 @@ namespace WixToolset.Mba.Core | |||
500 | /// <summary> | 500 | /// <summary> |
501 | /// See <see cref="IDefaultBootstrapperApplication.RegisterBegin"/>. | 501 | /// See <see cref="IDefaultBootstrapperApplication.RegisterBegin"/>. |
502 | /// </summary> | 502 | /// </summary> |
503 | /// <param name="fCancel"></param> | ||
504 | /// <returns></returns> | ||
505 | [PreserveSig] | 503 | [PreserveSig] |
506 | [return: MarshalAs(UnmanagedType.I4)] | 504 | [return: MarshalAs(UnmanagedType.I4)] |
507 | int OnRegisterBegin( | 505 | int OnRegisterBegin( |
508 | [MarshalAs(UnmanagedType.Bool)] ref bool fCancel | 506 | [MarshalAs(UnmanagedType.I4)] RegistrationType recommendedRegistrationType, |
507 | [MarshalAs(UnmanagedType.Bool)] ref bool fCancel, | ||
508 | [MarshalAs(UnmanagedType.I4)] ref RegistrationType pRegistrationType | ||
509 | ); | 509 | ); |
510 | 510 | ||
511 | /// <summary> | 511 | /// <summary> |
@@ -820,14 +820,11 @@ namespace WixToolset.Mba.Core | |||
820 | /// <summary> | 820 | /// <summary> |
821 | /// See <see cref="IDefaultBootstrapperApplication.UnregisterBegin"/>. | 821 | /// See <see cref="IDefaultBootstrapperApplication.UnregisterBegin"/>. |
822 | /// </summary> | 822 | /// </summary> |
823 | /// <param name="fKeepRegistration"></param> | ||
824 | /// <param name="fForceKeepRegistration"></param> | ||
825 | /// <returns></returns> | ||
826 | [PreserveSig] | 823 | [PreserveSig] |
827 | [return: MarshalAs(UnmanagedType.I4)] | 824 | [return: MarshalAs(UnmanagedType.I4)] |
828 | int OnUnregisterBegin( | 825 | int OnUnregisterBegin( |
829 | [MarshalAs(UnmanagedType.Bool)] bool fKeepRegistration, | 826 | [MarshalAs(UnmanagedType.I4)] RegistrationType recommendedRegistrationType, |
830 | [MarshalAs(UnmanagedType.Bool)] ref bool fForceKeepRegistration | 827 | [MarshalAs(UnmanagedType.I4)] ref RegistrationType pRegistrationType |
831 | ); | 828 | ); |
832 | 829 | ||
833 | /// <summary> | 830 | /// <summary> |
@@ -1260,6 +1257,28 @@ namespace WixToolset.Mba.Core | |||
1260 | } | 1257 | } |
1261 | 1258 | ||
1262 | /// <summary> | 1259 | /// <summary> |
1260 | /// The display name to use when registering in Add/Remove Programs. | ||
1261 | /// </summary> | ||
1262 | public enum RegistrationType | ||
1263 | { | ||
1264 | /// <summary> | ||
1265 | /// No registration. | ||
1266 | /// The engine will ignore None if it recommended InProgress or Full. | ||
1267 | /// </summary> | ||
1268 | None, | ||
1269 | |||
1270 | /// <summary> | ||
1271 | /// The in-progress display name. | ||
1272 | /// </summary> | ||
1273 | InProgress, | ||
1274 | |||
1275 | /// <summary> | ||
1276 | /// The default display name. | ||
1277 | /// </summary> | ||
1278 | Full, | ||
1279 | } | ||
1280 | |||
1281 | /// <summary> | ||
1263 | /// Result codes (based on Dialog Box Command IDs from WinUser.h). | 1282 | /// Result codes (based on Dialog Box Command IDs from WinUser.h). |
1264 | /// </summary> | 1283 | /// </summary> |
1265 | public enum Result | 1284 | public enum Result |