diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/dutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/dutil.h | 16 |
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 | ********************************************************************/ | ||
244 | DAPI_(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 |