aboutsummaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/dutil.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-06-24 12:26:27 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-06-27 11:14:21 -0500
commit78b5daf01555d86293c1012ed3de704752880a6a (patch)
tree45524478c868cf63042a5e2ad78cfcd15aac43d6 /src/libs/dutil/WixToolset.DUtil/inc/dutil.h
parent4f41db7eaa48b0e061a68fd5fc70ce6d127d9039 (diff)
downloadwix-78b5daf01555d86293c1012ed3de704752880a6a.tar.gz
wix-78b5daf01555d86293c1012ed3de704752880a6a.tar.bz2
wix-78b5daf01555d86293c1012ed3de704752880a6a.zip
Move LoadSystemLibrary and LoadSystemLibraryWithPath into apputil.
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/dutil.h')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/inc/dutil.h30
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
208HRESULT DAPI LoadSystemLibrary(__in_z LPCWSTR wzModuleName, __out HMODULE *phModule); 208
209HRESULT 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********************************************************************/
217HRESULT 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********************************************************************/
231HRESULT 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}