LoadLibraryMemoryExA pass the Flags parameter

This commit is contained in:
Boring
2023-12-15 08:40:27 +08:00
parent c1d3bae922
commit 41e666e314
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ HMEMORYMODULE WINAPI LoadLibraryMemoryExA(
mbstowcs_s(nullptr, _DllFullName, size, DllFullName, size);
}
result = LoadLibraryMemoryExW(BufferAddress, 0, _DllName, _DllFullName, 0);
result = LoadLibraryMemoryExW(BufferAddress, 0, _DllName, _DllFullName, Flags);
} while (false);
RtlFreeHeap(heap, 0, _DllName);