Only search system32 for gdi32.dll
authorCharles Giessen <charles@lunarg.com>
Tue, 16 Jul 2024 21:52:07 +0000 (14:52 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 16 Jul 2024 20:23:18 +0000 (15:23 -0500)
commit40b8e6eeead809a62c708cb48fdd9f8f2eab3f15
treed43e7f9cd2e18397ecc7e12c4b8347b216695376
parent6b8a3f6dec7f09ac79895973ce81d5853cd8df38
Only search system32 for gdi32.dll

LoadLibraryEx allows specifying where to search for dll's, including
system only paths which is useful for guaranteeing the authenticity
of a loaded dll, which is gdi32.dll in our case.
loader/loader_windows.c