mirror of
https://github.com/taviso/loadlibrary
synced 2026-06-08 17:42:38 +00:00
Fixed some winnt type and added additional information for LdrLoadDll debug log
This commit is contained in:
@@ -56,8 +56,9 @@ static NTSTATUS WINAPI LdrLoadDll(PWCHAR PathToFile,
|
||||
PHANDLE ModuleHandle)
|
||||
{
|
||||
char *PathToFileA = CreateAnsiFromWide(PathToFile);
|
||||
char *ModuleFilenameA = CreateAnsiFromWide(ModuleFilename->Buffer);
|
||||
|
||||
DebugLog("%p [%s], %p, %p, %#x", PathToFile, PathToFileA, ModuleFilename, ModuleHandle, Flags);
|
||||
DebugLog("%p [%s], %p [%s], %p, %#x", PathToFile, PathToFileA, ModuleFilename, ModuleFilenameA, ModuleHandle, Flags);
|
||||
|
||||
*ModuleHandle = (HANDLE) 'LOAD';
|
||||
|
||||
|
||||
@@ -148,8 +148,8 @@ typedef wchar_t WCHAR;
|
||||
typedef CHAR *LPSTR;
|
||||
typedef const char *LPCSTR;
|
||||
typedef WCHAR *LPWSTR;
|
||||
typedef const wchar_t* *LPCWSTR;
|
||||
typedef wchar_t* *PWSTR;
|
||||
typedef const WCHAR *LPCWSTR;
|
||||
typedef WCHAR *PWSTR;
|
||||
typedef uint8_t UCHAR;
|
||||
typedef uint8_t *PUCHAR;
|
||||
typedef uint16_t SHORT;
|
||||
|
||||
Reference in New Issue
Block a user