summaryrefslogtreecommitdiff
path: root/src/burn/stub/StubSection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/stub/StubSection.cpp')
-rw-r--r--src/burn/stub/StubSection.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/burn/stub/StubSection.cpp b/src/burn/stub/StubSection.cpp
new file mode 100644
index 00000000..962bb3cf
--- /dev/null
+++ b/src/burn/stub/StubSection.cpp
@@ -0,0 +1,23 @@
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
3#include "precomp.h"
4
5#pragma section(".wixburn",read)
6
7// If these defaults ever change, be sure to update constants in burn\engine\section.cpp as well.
8#pragma data_seg(push, ".wixburn")
9static DWORD dwMagic = 0x00f14300;
10static DWORD dwVersion = 0x00000002;
11
12static GUID guidBundleId = { };
13
14static DWORD dwStubSize = 0;
15static DWORD dwOriginalChecksum = 0;
16static DWORD dwOriginalSignatureOffset = 0;
17static DWORD dwOriginalSignatureSize = 0;
18
19static DWORD dwContainerFormat = 1;
20static DWORD dwContainerCount = 0;
21static DWORD qwBootstrapperApplicationContainerSize = 0;
22static DWORD qwAttachedContainerSize = 0;
23#pragma data_seg(pop)