diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/WixToolsetTest.Mba.Core/BaseBootstrapperApplicationFactoryFixture.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.Mba.Core/BaseBootstrapperApplicationFactoryFixture.cs b/src/test/WixToolsetTest.Mba.Core/BaseBootstrapperApplicationFactoryFixture.cs index 7fe0a405..aaf5ee29 100644 --- a/src/test/WixToolsetTest.Mba.Core/BaseBootstrapperApplicationFactoryFixture.cs +++ b/src/test/WixToolsetTest.Mba.Core/BaseBootstrapperApplicationFactoryFixture.cs | |||
| @@ -103,6 +103,25 @@ namespace WixToolsetTest.Mba.Core | |||
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | [StructLayout(LayoutKind.Sequential)] | 105 | [StructLayout(LayoutKind.Sequential)] |
| 106 | public struct BootstrapperCreateArgs | ||
| 107 | { | ||
| 108 | [MarshalAs(UnmanagedType.I4)] public readonly int cbSize; | ||
| 109 | [MarshalAs(UnmanagedType.I8)] public readonly long qwEngineAPIVersion; | ||
| 110 | public readonly IntPtr pfnBootstrapperEngineProc; | ||
| 111 | public readonly IntPtr pvBootstrapperEngineProcContext; | ||
| 112 | public readonly IntPtr pCommand; | ||
| 113 | |||
| 114 | public BootstrapperCreateArgs(long version, IntPtr pEngineProc, IntPtr pEngineContext, IntPtr pCommand) | ||
| 115 | { | ||
| 116 | this.cbSize = Marshal.SizeOf(typeof(BootstrapperCreateArgs)); | ||
| 117 | this.qwEngineAPIVersion = version; | ||
| 118 | this.pfnBootstrapperEngineProc = pEngineProc; | ||
| 119 | this.pvBootstrapperEngineProcContext = pEngineContext; | ||
| 120 | this.pCommand = pCommand; | ||
| 121 | } | ||
| 122 | } | ||
| 123 | |||
| 124 | [StructLayout(LayoutKind.Sequential)] | ||
| 106 | public struct TestCreateResults | 125 | public struct TestCreateResults |
| 107 | { | 126 | { |
| 108 | public int cbSize; | 127 | public int cbSize; |
