[release/8.0] Fix usage of load library (#91490)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 5 Sep 2023 01:00:22 +0000 (18:00 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2023 01:00:22 +0000 (18:00 -0700)
commit0cb73b1a540d2967de81ac0c9409006e3eac3959
treea0928c1135654af179019085a689482cd2ef282c
parent0c09b0812996d45d2fdb4ae98159a9483752ff9f
[release/8.0] Fix usage of load library (#91490)

* Use LoadLibraryExW on Windows.

* Use correct flag.

---------

Co-authored-by: Aaron R Robinson <arobins@microsoft.com>
src/coreclr/debug/di/process.cpp