diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-08-03 18:06:54 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-08-04 10:03:57 -0500 |
commit | cdba28de1ee229369b254c62bc58cf2f001899a3 (patch) | |
tree | 4ae9a7aafd83ff311c5440df2c6d4a8693f8f23b /src/libs/dutil/WixToolset.DUtil/inc/apputil.h | |
parent | 75d645c6aec0df0e02bd3aaf2fe2571d83316d4c (diff) | |
download | wix-cdba28de1ee229369b254c62bc58cf2f001899a3.tar.gz wix-cdba28de1ee229369b254c62bc58cf2f001899a3.tar.bz2 wix-cdba28de1ee229369b254c62bc58cf2f001899a3.zip |
Add argument and policy setting to set Burn's base working directory.
Fixes #5856
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/apputil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/apputil.h | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/apputil.h b/src/libs/dutil/WixToolset.DUtil/inc/apputil.h index 1a1e14f7..11280102 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/apputil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/apputil.h | |||
@@ -34,12 +34,51 @@ AppParseCommandLine - parses the command line using CommandLineToArgvW. | |||
34 | by calling AppFreeCommandLineArgs. | 34 | by calling AppFreeCommandLineArgs. |
35 | 35 | ||
36 | ********************************************************************/ | 36 | ********************************************************************/ |
37 | DAPI_(HRESULT) AppParseCommandLine( | 37 | HRESULT DAPI AppParseCommandLine( |
38 | __in LPCWSTR wzCommandLine, | 38 | __in LPCWSTR wzCommandLine, |
39 | __in int* argc, | 39 | __in int* argc, |
40 | __in LPWSTR** pArgv | 40 | __in LPWSTR** pArgv |
41 | ); | 41 | ); |
42 | 42 | ||
43 | /******************************************************************* | ||
44 | AppAppendCommandLineArgument - appends a command line argument on to a | ||
45 | string such that ::CommandLineToArgv() will shred them correctly | ||
46 | (i.e. quote arguments with spaces in them). | ||
47 | ********************************************************************/ | ||
48 | HRESULT DAPI AppAppendCommandLineArgument( | ||
49 | __deref_inout_z LPWSTR* psczCommandLine, | ||
50 | __in_z LPCWSTR wzArgument | ||
51 | ); | ||
52 | |||
53 | HRESULT DAPIV AppAppendCommandLineArgumentFormatted( | ||
54 | __deref_inout_z LPWSTR* psczCommandLine, | ||
55 | __in __format_string LPCWSTR wzFormat, | ||
56 | ... | ||
57 | ); | ||
58 | |||
59 | HRESULT DAPI AppAppendCommandLineArgumentFormattedArgs( | ||
60 | __deref_inout_z LPWSTR* psczCommandLine, | ||
61 | __in __format_string LPCWSTR wzFormat, | ||
62 | __in va_list args | ||
63 | ); | ||
64 | |||
65 | /******************************************************************** | ||
66 | AppEscapeCommandLineArgumentFormatted - formats a string and then | ||
67 | escapes it such that ::CommandLineToArgv() will parse it back unaltered. | ||
68 | |||
69 | ********************************************************************/ | ||
70 | HRESULT DAPIV AppEscapeCommandLineArgumentFormatted( | ||
71 | __deref_inout_z LPWSTR* psczEscapedArgument, | ||
72 | __in __format_string LPCWSTR wzFormat, | ||
73 | ... | ||
74 | ); | ||
75 | |||
76 | HRESULT DAPI AppEscapeCommandLineArgumentFormattedArgs( | ||
77 | __deref_inout_z LPWSTR* psczEscapedArgument, | ||
78 | __in __format_string LPCWSTR wzFormat, | ||
79 | __in va_list args | ||
80 | ); | ||
81 | |||
43 | #ifdef __cplusplus | 82 | #ifdef __cplusplus |
44 | } | 83 | } |
45 | #endif | 84 | #endif |