upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/registry.cpp
diff options
context:
space:
mode:
authorjaybeebabageyus <jaybeebabageyus@users.noreply.github.com>2026-11-22 17:14:23 +0100
committerjaybeebabageyus <jaybeebabageyus@users.noreply.github.com>2026-11-22 17:14:23 +0100
commitf4a3fe8d4a6dff718fa6ca9d2f5d5c5dcd8d6c41 (patch)
tree67f24736e8471674d58fe0fb4851e35a5bf3cb1d /runtime/shims/registry.cpp
parent47f4cdc643f3fca3f87a34d9a4718f250d7cd905 (diff)
runtime: propagate LoadLibraryEx flags and reject DONT_RESOLVE_DLL_REFERENCES for bundled DLLs
Diffstat (limited to 'runtime/shims/registry.cpp')
-rw-r--r--runtime/shims/registry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/shims/registry.cpp b/runtime/shims/registry.cpp
index 27d8d8ec6..f6eb8487c 100644
--- a/runtime/shims/registry.cpp
+++ b/runtime/shims/registry.cpp
@@ -370,11 +370,11 @@ void* find_loaded_bundled_module(const std::string& dll_lower) {
370 return nullptr; 370 return nullptr;
371} 371}
372 372
373void* load_bundled_module(const std::string& dll_lower, bool& handled) { 373void* load_bundled_module(const std::string& dll_lower, uint32_t flags, bool& handled) {
374 handled = false; 374 handled = false;
375 for (const auto& entry : snapshot_bundled_loaders()) { 375 for (const auto& entry : snapshot_bundled_loaders()) {
376 bool loader_handled = false; 376 bool loader_handled = false;
377 void* h = entry.ops->load_bundled(entry.ctx, dll_lower, loader_handled); 377 void* h = entry.ops->load_bundled(entry.ctx, dll_lower, flags, loader_handled);
378 if (loader_handled) { 378 if (loader_handled) {
379 handled = true; 379 handled = true;
380 return h; 380 return h;