#39 Add ARM and ARM64 configuration.

This commit is contained in:
Boring
2024-01-04 14:54:25 +08:00
parent 2aa3cf99c8
commit a6c494a0d1
16 changed files with 684 additions and 171 deletions
+10
View File
@@ -1,6 +1,16 @@
#include "stdafx.h"
#include <cmath>
#ifdef _USRDLL
#if (defined(_WIN64) || defined(_M_ARM))
#pragma comment(linker,"/export:LdrUnloadDllMemoryAndExitThread")
#pragma comment(linker,"/export:FreeLibraryMemoryAndExitThread=LdrUnloadDllMemoryAndExitThread")
#else
#pragma comment(linker,"/export:LdrUnloadDllMemoryAndExitThread=_LdrUnloadDllMemoryAndExitThread@8")
#pragma comment(linker,"/export:FreeLibraryMemoryAndExitThread=_LdrUnloadDllMemoryAndExitThread@8")
#endif
#endif
NTSTATUS NTAPI LdrMapDllMemory(
_In_ HMEMORYMODULE ViewBase,
_In_ DWORD dwFlags,