mirror of
https://github.com/bb107/MemoryModulePP
synced 2026-06-08 13:15:33 +00:00
LoadLibraryMemoryExA pass the Flags parameter
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user