Fixed some winnt type and added additional information for LdrLoadDll debug log

This commit is contained in:
Cube
2021-01-07 02:26:21 -05:00
parent 8df9845779
commit faa5d9da18
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -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';
+2 -2
View File
@@ -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;