diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/dutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/dutil.h | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/dutil.h b/src/libs/dutil/WixToolset.DUtil/inc/dutil.h index 618349da..4a29b66b 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/dutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/dutil.h | |||
@@ -205,8 +205,34 @@ extern "C" { | |||
205 | #endif | 205 | #endif |
206 | 206 | ||
207 | // other functions | 207 | // other functions |
208 | HRESULT DAPI LoadSystemLibrary(__in_z LPCWSTR wzModuleName, __out HMODULE *phModule); | 208 | |
209 | HRESULT DAPI LoadSystemLibraryWithPath(__in_z LPCWSTR wzModuleName, __out HMODULE *phModule, __deref_out_z_opt LPWSTR* psczPath); | 209 | /******************************************************************* |
210 | LoadSystemLibrary - Fully qualifies the path to a module in the | ||
211 | Windows system directory and loads it. | ||
212 | |||
213 | Returns | ||
214 | E_MODNOTFOUND - The module could not be found. | ||
215 | * - Another error occured. | ||
216 | ********************************************************************/ | ||
217 | HRESULT DAPI LoadSystemLibrary( | ||
218 | __in_z LPCWSTR wzModuleName, | ||
219 | __out HMODULE* phModule | ||
220 | ); | ||
221 | |||
222 | /******************************************************************* | ||
223 | LoadSystemLibraryWithPath - Fully qualifies the path to a module in | ||
224 | the Windows system directory and loads it | ||
225 | and returns the path | ||
226 | |||
227 | Returns | ||
228 | E_MODNOTFOUND - The module could not be found. | ||
229 | * - Another error occured. | ||
230 | ********************************************************************/ | ||
231 | HRESULT DAPI LoadSystemLibraryWithPath( | ||
232 | __in_z LPCWSTR wzModuleName, | ||
233 | __out HMODULE* phModule, | ||
234 | __deref_out_z_opt LPWSTR* psczPath | ||
235 | ); | ||
210 | 236 | ||
211 | #ifdef __cplusplus | 237 | #ifdef __cplusplus |
212 | } | 238 | } |