mirror of
https://github.com/reactos/reactos.git
synced 2026-05-24 00:00:41 +08:00
GetModuleFileName() fails on LOAD_LIBRARY_AS_DATAFILE causing LoadImage to fail. Use a fake filename for LR_SHARED (with same format as Windows). This may not be a good design, but it does match Windows' behaviour. + Added test.