mirror of
https://github.com/taviso/loadlibrary
synced 2026-06-08 17:42:38 +00:00
LdrLoadDll return the HANDLE in the ModuleHandle ptr passed as argument.
This commit is contained in:
@@ -59,6 +59,8 @@ static NTSTATUS WINAPI LdrLoadDll(PWCHAR PathToFile,
|
||||
|
||||
DebugLog("%p [%s], %p, %p, %#x", PathToFile, PathToFileA, ModuleFilename, ModuleHandle, Flags);
|
||||
|
||||
*ModuleHandle = (HANDLE) 'LOAD';
|
||||
|
||||
free(PathToFileA);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user