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:42 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-06-27 11:14:21 -0500
commit6ee12a64cb75097a238e60d4fd0ea542e8312214 (patch)
tree0cd7d8637e167e8c294a107ccdb99db016f67a60 /src/libs/dutil/WixToolset.DUtil/inc/dutil.h
parent78b5daf01555d86293c1012ed3de704752880a6a (diff)
downloadwix-6ee12a64cb75097a238e60d4fd0ea542e8312214.tar.gz
wix-6ee12a64cb75097a238e60d4fd0ea542e8312214.tar.bz2
wix-6ee12a64cb75097a238e60d4fd0ea542e8312214.zip
Add LoadSystemApiSet.
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/dutil.h')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/inc/dutil.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/dutil.h b/src/libs/dutil/WixToolset.DUtil/inc/dutil.h
index 4a29b66b..6f099f35 100644
--- a/src/libs/dutil/WixToolset.DUtil/inc/dutil.h
+++ b/src/libs/dutil/WixToolset.DUtil/inc/dutil.h
@@ -207,8 +207,8 @@ extern "C" {
207// other functions 207// other functions
208 208
209/******************************************************************* 209/*******************************************************************
210 LoadSystemLibrary - Fully qualifies the path to a module in the 210 LoadSystemLibrary - Securely loads the module from the
211 Windows system directory and loads it. 211 Windows system directory.
212 212
213 Returns 213 Returns
214 E_MODNOTFOUND - The module could not be found. 214 E_MODNOTFOUND - The module could not be found.
@@ -234,6 +234,18 @@ HRESULT DAPI LoadSystemLibraryWithPath(
234 __deref_out_z_opt LPWSTR* psczPath 234 __deref_out_z_opt LPWSTR* psczPath
235 ); 235 );
236 236
237/*******************************************************************
238 LoadSystemApiSet - Securely loads the API set provided by the system.
239
240 Returns
241 E_MODNOTFOUND - The module could not be found.
242 * - Another error occured.
243********************************************************************/
244DAPI_(HRESULT) LoadSystemApiSet(
245 __in_z LPCWSTR wzApiSet,
246 __out HMODULE* phModule
247 );
248
237#ifdef __cplusplus 249#ifdef __cplusplus
238} 250}
239#endif 251#endif