aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native/inc
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-10-17 19:12:21 -0500
committerSean Hall <r.sean.hall@gmail.com>2020-10-24 20:07:21 -0500
commit273c69f34311f4f4e5f6b5896e71d0788f12d96a (patch)
tree4cf8f42f3ecfa9341a41686b74aa5e48068ede87 /src/WixToolset.BootstrapperCore.Native/inc
parent3f8e35223216ebbe7f6683a5031a5a97bbc66d5a (diff)
downloadwix-273c69f34311f4f4e5f6b5896e71d0788f12d96a.tar.gz
wix-273c69f34311f4f4e5f6b5896e71d0788f12d96a.tar.bz2
wix-273c69f34311f4f4e5f6b5896e71d0788f12d96a.zip
WIXFEAT:6210 Change data type of versions to strings.
Diffstat (limited to 'src/WixToolset.BootstrapperCore.Native/inc')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h12
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h8
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h8
3 files changed, 16 insertions, 12 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
index 36d788ca..77d5b2c6 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
@@ -416,7 +416,7 @@ struct BA_ONDETECTCOMPATIBLEMSIPACKAGE_ARGS
416 DWORD cbSize; 416 DWORD cbSize;
417 LPCWSTR wzPackageId; 417 LPCWSTR wzPackageId;
418 LPCWSTR wzCompatiblePackageId; 418 LPCWSTR wzCompatiblePackageId;
419 DWORD64 dw64CompatiblePackageVersion; 419 LPCWSTR wzCompatiblePackageVersion;
420}; 420};
421 421
422struct BA_ONDETECTCOMPATIBLEMSIPACKAGE_RESULTS 422struct BA_ONDETECTCOMPATIBLEMSIPACKAGE_RESULTS
@@ -443,7 +443,7 @@ struct BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS
443 BOOTSTRAPPER_RELATION_TYPE relationType; 443 BOOTSTRAPPER_RELATION_TYPE relationType;
444 LPCWSTR wzBundleTag; 444 LPCWSTR wzBundleTag;
445 BOOL fPerMachine; 445 BOOL fPerMachine;
446 DWORD64 dw64Version; 446 LPCWSTR wzVersion;
447}; 447};
448 448
449struct BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS 449struct BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS
@@ -499,7 +499,7 @@ struct BA_ONDETECTRELATEDBUNDLE_ARGS
499 BOOTSTRAPPER_RELATION_TYPE relationType; 499 BOOTSTRAPPER_RELATION_TYPE relationType;
500 LPCWSTR wzBundleTag; 500 LPCWSTR wzBundleTag;
501 BOOL fPerMachine; 501 BOOL fPerMachine;
502 DWORD64 dw64Version; 502 LPCWSTR wzVersion;
503 BOOTSTRAPPER_RELATED_OPERATION operation; 503 BOOTSTRAPPER_RELATED_OPERATION operation;
504}; 504};
505 505
@@ -516,7 +516,7 @@ struct BA_ONDETECTRELATEDMSIPACKAGE_ARGS
516 LPCWSTR wzUpgradeCode; 516 LPCWSTR wzUpgradeCode;
517 LPCWSTR wzProductCode; 517 LPCWSTR wzProductCode;
518 BOOL fPerMachine; 518 BOOL fPerMachine;
519 DWORD64 dw64Version; 519 LPCWSTR wzVersion;
520 BOOTSTRAPPER_RELATED_OPERATION operation; 520 BOOTSTRAPPER_RELATED_OPERATION operation;
521}; 521};
522 522
@@ -545,7 +545,7 @@ struct BA_ONDETECTUPDATE_ARGS
545 DWORD cbSize; 545 DWORD cbSize;
546 LPCWSTR wzUpdateLocation; 546 LPCWSTR wzUpdateLocation;
547 DWORD64 dw64Size; 547 DWORD64 dw64Size;
548 DWORD64 dw64Version; 548 LPCWSTR wzVersion;
549 LPCWSTR wzTitle; 549 LPCWSTR wzTitle;
550 LPCWSTR wzSummary; 550 LPCWSTR wzSummary;
551 LPCWSTR wzContentType; 551 LPCWSTR wzContentType;
@@ -781,7 +781,7 @@ struct BA_ONPLANCOMPATIBLEMSIPACKAGEBEGIN_ARGS
781 DWORD cbSize; 781 DWORD cbSize;
782 LPCWSTR wzPackageId; 782 LPCWSTR wzPackageId;
783 LPCWSTR wzCompatiblePackageId; 783 LPCWSTR wzCompatiblePackageId;
784 DWORD64 dw64CompatiblePackageVersion; 784 LPCWSTR wzCompatiblePackageVersion;
785 BOOTSTRAPPER_REQUEST_STATE recommendedState; 785 BOOTSTRAPPER_REQUEST_STATE recommendedState;
786}; 786};
787 787
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h
index e3792177..a6a87622 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperEngine.h
@@ -258,8 +258,10 @@ typedef struct _BAENGINE_GETVARIABLEVERSION_ARGS
258typedef struct _BAENGINE_GETVARIABLEVERSION_RESULTS 258typedef struct _BAENGINE_GETVARIABLEVERSION_RESULTS
259{ 259{
260 DWORD cbSize; 260 DWORD cbSize;
261 // The contents of qwValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroMemory. 261 // The contents of wzValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroFree.
262 DWORD64 qwValue; 262 LPWSTR wzValue;
263 // Should be initialized to the size of wzValue.
264 DWORD cchValue;
263} BAENGINE_GETVARIABLEVERSION_RESULTS; 265} BAENGINE_GETVARIABLEVERSION_RESULTS;
264 266
265typedef struct _BAENGINE_LAUNCHAPPROVEDEXE_ARGS 267typedef struct _BAENGINE_LAUNCHAPPROVEDEXE_ARGS
@@ -410,7 +412,7 @@ typedef struct _BAENGINE_SETVARIABLEVERSION_ARGS
410{ 412{
411 DWORD cbSize; 413 DWORD cbSize;
412 LPCWSTR wzVariable; 414 LPCWSTR wzVariable;
413 DWORD64 qwValue; 415 LPCWSTR wzValue;
414} BAENGINE_SETVARIABLEVERSION_ARGS; 416} BAENGINE_SETVARIABLEVERSION_ARGS;
415 417
416typedef struct _BAENGINE_SETVARIABLEVERSION_RESULTS 418typedef struct _BAENGINE_SETVARIABLEVERSION_RESULTS
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h b/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
index 61a55693..adcae1af 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BundleExtensionEngine.h
@@ -107,8 +107,10 @@ typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_ARGS
107typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_RESULTS 107typedef struct _BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_RESULTS
108{ 108{
109 DWORD cbSize; 109 DWORD cbSize;
110 // The contents of qwValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroMemory. 110 // The contents of wzValue may be sensitive, if variable is hidden should keep value encrypted and SecureZeroFree.
111 DWORD64 qwValue; 111 LPWSTR wzValue;
112 // Should be initialized to the size of wzValue.
113 DWORD cchValue;
112} BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_RESULTS; 114} BUNDLE_EXTENSION_ENGINE_GETVARIABLEVERSION_RESULTS;
113 115
114typedef struct _BUNDLE_EXTENSION_ENGINE_LOG_ARGS 116typedef struct _BUNDLE_EXTENSION_ENGINE_LOG_ARGS
@@ -152,7 +154,7 @@ typedef struct _BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_ARGS
152{ 154{
153 DWORD cbSize; 155 DWORD cbSize;
154 LPCWSTR wzVariable; 156 LPCWSTR wzVariable;
155 DWORD64 qwValue; 157 LPCWSTR wzValue;
156} BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_ARGS; 158} BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_ARGS;
157 159
158typedef struct _BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_RESULTS 160typedef struct _BUNDLE_EXTENSION_ENGINE_SETVARIABLEVERSION_RESULTS