aboutsummaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/apputil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/apputil.h')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/inc/apputil.h41
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********************************************************************/
37DAPI_(HRESULT) AppParseCommandLine( 37HRESULT 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********************************************************************/
48HRESULT DAPI AppAppendCommandLineArgument(
49 __deref_inout_z LPWSTR* psczCommandLine,
50 __in_z LPCWSTR wzArgument
51 );
52
53HRESULT DAPIV AppAppendCommandLineArgumentFormatted(
54 __deref_inout_z LPWSTR* psczCommandLine,
55 __in __format_string LPCWSTR wzFormat,
56 ...
57 );
58
59HRESULT DAPI AppAppendCommandLineArgumentFormattedArgs(
60 __deref_inout_z LPWSTR* psczCommandLine,
61 __in __format_string LPCWSTR wzFormat,
62 __in va_list args
63 );
64
65/********************************************************************
66AppEscapeCommandLineArgumentFormatted - formats a string and then
67 escapes it such that ::CommandLineToArgv() will parse it back unaltered.
68
69********************************************************************/
70HRESULT DAPIV AppEscapeCommandLineArgumentFormatted(
71 __deref_inout_z LPWSTR* psczEscapedArgument,
72 __in __format_string LPCWSTR wzFormat,
73 ...
74 );
75
76HRESULT 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