win32: only load system DLL's from %windows%\system32
Similar to ba108368 for the other system DLL's.
The SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_SYSTEM32);
call still allows DLL's from the VLC or app folder. But these system DLL's should only come from the system.
We don't need wide char names for ASCII DLL names. LoadLibraryExA
/LoadLibraryExW
are equally available on Windows and UWP (since 19H1).
The DXVA/D3D9/DMO have not been patched as they should not use LoadLibrary anymore.
Merge request reports
Activity
changed milestone to %4.0
added Platform::Windows desktop label
added MRStatus::Reviewable label
added MRStatus::NotCompliant label and removed MRStatus::Reviewable label
added 49 commits
-
97515fcf...b19ddcc9 - 43 commits from branch
videolan:master
- 92b352e1 - d3d11_fmt: only load DXGIDEBUG.DLL from %windows%\system32
- c7e00bd5 - d3d11_fmt: only load d3d11_1sdklayers.dll from %windows%\system32
- a391f817 - mft_d3d: only load mfplat.dll from %windows%\system32
- 53e72e18 - direct3d9: only load D3dx9_XX.dll from %windows%\system32
- ca510fbc - wgl: only load opengl32.dll from %windows%\system32
- 35455efc - amf_helper: only load amfrt64.dll from %windows%\system32
Toggle commit list-
97515fcf...b19ddcc9 - 43 commits from branch
added MRStatus::Reviewable label and removed MRStatus::NotCompliant label
added MRStatus::Accepted label and removed MRStatus::Reviewable label
MR Acceptance result
This MergeRequest has been Accepted! Congratulations.MR acceptance checks details:
-
MR should be considered mergeable by Gitlab -
Last pipeline should be successful -
No activity on MR (no thread, no vote) and last update is long enough
-
enabled an automatic merge when all merge checks for a926c055 pass
added 14 commits
-
35455efc...9ab3f7da - 8 commits from branch
videolan:master
- 833641de - d3d11_fmt: only load DXGIDEBUG.DLL from %windows%\system32
- 57570b45 - d3d11_fmt: only load d3d11_1sdklayers.dll from %windows%\system32
- aaaaa7dc - mft_d3d: only load mfplat.dll from %windows%\system32
- d57d4751 - direct3d9: only load D3dx9_XX.dll from %windows%\system32
- 07ac5669 - wgl: only load opengl32.dll from %windows%\system32
- a926c055 - amf_helper: only load amfrt64.dll from %windows%\system32
Toggle commit list-
35455efc...9ab3f7da - 8 commits from branch