aboutsummaryrefslogtreecommitdiff
path: root/src/engine/variant.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-07-31 17:06:35 -0600
committerSean Hall <r.sean.hall@gmail.com>2020-08-09 10:33:49 -0600
commitd21eed76c48960707561c45c492c10a6a23c052e (patch)
treeebab09d099a699a24801fcfb4d7152cf82cc4a06 /src/engine/variant.h
parentad80d6dc10f9bd6cb6a084857a8fb546cc55e756 (diff)
downloadwix-d21eed76c48960707561c45c492c10a6a23c052e.tar.gz
wix-d21eed76c48960707561c45c492c10a6a23c052e.tar.bz2
wix-d21eed76c48960707561c45c492c10a6a23c052e.zip
WIXFEAT:4763 Change "string" variable type to literal and add "formatted".
Diffstat (limited to 'src/engine/variant.h')
-rw-r--r--src/engine/variant.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/variant.h b/src/engine/variant.h
index 73fbe076..35463479 100644
--- a/src/engine/variant.h
+++ b/src/engine/variant.h
@@ -12,8 +12,9 @@ extern "C" {
12enum BURN_VARIANT_TYPE 12enum BURN_VARIANT_TYPE
13{ 13{
14 BURN_VARIANT_TYPE_NONE, 14 BURN_VARIANT_TYPE_NONE,
15 BURN_VARIANT_TYPE_FORMATTED,
15 BURN_VARIANT_TYPE_NUMERIC, 16 BURN_VARIANT_TYPE_NUMERIC,
16 BURN_VARIANT_TYPE_STRING, 17 BURN_VARIANT_TYPE_STRING, // when formatting this value should be used as is (don't continue recursively formatting).
17 BURN_VARIANT_TYPE_VERSION, 18 BURN_VARIANT_TYPE_VERSION,
18}; 19};
19 20
@@ -57,7 +58,8 @@ HRESULT BVariantSetNumeric(
57HRESULT BVariantSetString( 58HRESULT BVariantSetString(
58 __in BURN_VARIANT* pVariant, 59 __in BURN_VARIANT* pVariant,
59 __in_z_opt LPCWSTR wzValue, 60 __in_z_opt LPCWSTR wzValue,
60 __in DWORD_PTR cchValue 61 __in DWORD_PTR cchValue,
62 __in BOOL fFormatted
61 ); 63 );
62HRESULT BVariantSetVersion( 64HRESULT BVariantSetVersion(
63 __in BURN_VARIANT* pVariant, 65 __in BURN_VARIANT* pVariant,