mirror of
https://github.com/bb107/MemoryModulePP
synced 2026-06-08 13:15:33 +00:00
update
This commit is contained in:
@@ -393,6 +393,7 @@ NTSTATUS NTAPI NtLoadDllMemory(
|
||||
/*
|
||||
NtLoadDllMemoryEx dwFlags
|
||||
*/
|
||||
|
||||
//If this flag is specified, all subsequent flags will be ignored.
|
||||
//Also, will be incompatible with Win32 API.
|
||||
#define LOAD_FLAGS_NOT_MAP_DLL 0x10000000
|
||||
@@ -408,13 +409,16 @@ NTSTATUS NTAPI NtLoadDllMemory(
|
||||
//If this flag is specified, DllName and DllFullName cannot be nullptr,
|
||||
// they can be arbitrary strings without having to be correct file names and paths.
|
||||
//Otherwise, DllName and DllFullName will use random names if they are nullptr.
|
||||
//For compatibility with GetModuleHandle, DllName and DllFullName should be guaranteed to always end in .dll
|
||||
//For compatibility with GetModuleHandle, DllName and DllFullName should be guaranteed to always end in ".dll"
|
||||
#define LOAD_FLAGS_USE_DLL_NAME 0x00000004
|
||||
|
||||
//Dont call LdrpHandleTlsData routine if this flag is specified.
|
||||
#define LOAD_FLAGS_NOT_HANDLE_TLS 0x00000008
|
||||
|
||||
|
||||
NTSTATUS NTAPI NtLoadDllMemoryExW(
|
||||
OUT HMEMORYMODULE* BaseAddress,
|
||||
OUT PLDR_DATA_TABLE_ENTRY* LdrEntry OPTIONAL,
|
||||
OUT PVOID* LdrEntry OPTIONAL,
|
||||
IN DWORD dwFlags,
|
||||
IN LPVOID BufferAddress,
|
||||
IN size_t BufferSize,
|
||||
@@ -449,3 +453,4 @@ typedef struct _RTL_INVERTED_FUNCTION_TABLE {
|
||||
|
||||
NTSTATUS NTAPI RtlInsertInvertedFunctionTable(IN PVOID BaseAddress, IN size_t ImageSize);
|
||||
NTSTATUS NTAPI RtlRemoveInvertedFunctionTable(IN PVOID ImageBase);
|
||||
NTSTATUS NTAPI LdrpHandleTlsData(IN PLDR_DATA_TABLE_ENTRY LdrEntry);
|
||||
|
||||
Reference in New Issue
Block a user