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);
+1 -1
View File
@@ -100,7 +100,7 @@ typedef enum class _WINDOWS_VERSION :BYTE {
#define MEMORY_MODULE_GET_MINOR_VERSION(MinorVersion) (~0x8000&(MinorVersion))
#define MEMORY_MODULE_MAJOR_VERSION 2
#define MEMORY_MODULE_MINOR_VERSION MEMORY_MODULE_MAKE_PREVIEW(0)
#define MEMORY_MODULE_MINOR_VERSION 0
typedef struct _MMP_GLOBAL_DATA {