diff options
Diffstat (limited to 'src/api/burn/balutil/inc/balinfo.h')
-rw-r--r-- | src/api/burn/balutil/inc/balinfo.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/api/burn/balutil/inc/balinfo.h b/src/api/burn/balutil/inc/balinfo.h index 8c2155e9..0fce35ec 100644 --- a/src/api/burn/balutil/inc/balinfo.h +++ b/src/api/burn/balutil/inc/balinfo.h | |||
@@ -47,15 +47,50 @@ typedef struct _BAL_INFO_PACKAGES | |||
47 | } BAL_INFO_PACKAGES; | 47 | } BAL_INFO_PACKAGES; |
48 | 48 | ||
49 | 49 | ||
50 | typedef struct _BAL_INFO_OVERRIDABLE_VARIABLE | ||
51 | { | ||
52 | LPWSTR sczName; | ||
53 | } BAL_INFO_OVERRIDABLE_VARIABLE; | ||
54 | |||
55 | |||
56 | typedef struct _BAL_INFO_OVERRIDABLE_VARIABLES | ||
57 | { | ||
58 | BAL_INFO_OVERRIDABLE_VARIABLE* rgVariables; | ||
59 | DWORD cVariables; | ||
60 | STRINGDICT_HANDLE sdVariables; | ||
61 | } BAL_INFO_OVERRIDABLE_VARIABLES; | ||
62 | |||
63 | |||
50 | typedef struct _BAL_INFO_BUNDLE | 64 | typedef struct _BAL_INFO_BUNDLE |
51 | { | 65 | { |
52 | BOOL fPerMachine; | 66 | BOOL fPerMachine; |
53 | LPWSTR sczName; | 67 | LPWSTR sczName; |
54 | LPWSTR sczLogVariable; | 68 | LPWSTR sczLogVariable; |
55 | BAL_INFO_PACKAGES packages; | 69 | BAL_INFO_PACKAGES packages; |
70 | BAL_INFO_OVERRIDABLE_VARIABLES overridableVariables; | ||
56 | } BAL_INFO_BUNDLE; | 71 | } BAL_INFO_BUNDLE; |
57 | 72 | ||
58 | 73 | ||
74 | typedef struct _BAL_INFO_COMMAND | ||
75 | { | ||
76 | DWORD cUnknownArgs; | ||
77 | LPWSTR* rgUnknownArgs; | ||
78 | DWORD cVariables; | ||
79 | LPWSTR* rgVariableNames; | ||
80 | LPWSTR* rgVariableValues; | ||
81 | } BAL_INFO_COMMAND; | ||
82 | |||
83 | |||
84 | /******************************************************************* | ||
85 | BalInfoParseCommandLine - parses wzCommandLine from BOOTSTRAPPER_COMMAND. | ||
86 | |||
87 | ********************************************************************/ | ||
88 | HRESULT DAPI BalInfoParseCommandLine( | ||
89 | __in BAL_INFO_COMMAND* pCommand, | ||
90 | __in LPCWSTR wzCommandLine | ||
91 | ); | ||
92 | |||
93 | |||
59 | /******************************************************************* | 94 | /******************************************************************* |
60 | BalInfoParseFromXml - loads the bundle and package info from the UX | 95 | BalInfoParseFromXml - loads the bundle and package info from the UX |
61 | manifest. | 96 | manifest. |
@@ -100,6 +135,26 @@ DAPI_(void) BalInfoUninitialize( | |||
100 | ); | 135 | ); |
101 | 136 | ||
102 | 137 | ||
138 | /******************************************************************* | ||
139 | BalInfoUninitializeCommandLine - uninitializes BAL_INFO_COMMAND. | ||
140 | |||
141 | ********************************************************************/ | ||
142 | void DAPI BalInfoUninitializeCommandLine( | ||
143 | __in BAL_INFO_COMMAND* pCommand | ||
144 | ); | ||
145 | |||
146 | |||
147 | /******************************************************************* | ||
148 | BalInfoSetOverridableVariablesFromEngine - sets overridable variables from command line. | ||
149 | |||
150 | ********************************************************************/ | ||
151 | HRESULT DAPI BalSetOverridableVariablesFromEngine( | ||
152 | __in BAL_INFO_OVERRIDABLE_VARIABLES* pOverridableVariables, | ||
153 | __in BAL_INFO_COMMAND* pCommand, | ||
154 | __in IBootstrapperEngine* pEngine | ||
155 | ); | ||
156 | |||
157 | |||
103 | #ifdef __cplusplus | 158 | #ifdef __cplusplus |
104 | } | 159 | } |
105 | #endif | 160 | #endif |