[DLLS] Fix 64 bit issues

This commit is contained in:
Timo Kreuzer 2018-04-23 11:42:32 +02:00
parent 6f13066647
commit 0f8439aa71
23 changed files with 88 additions and 81 deletions

View file

@ -176,6 +176,7 @@ CreateRemoteThread(IN HANDLE hProcess,
ACTIVATION_CONTEXT_BASIC_INFORMATION ActCtxInfo;
ULONG_PTR Cookie;
ULONG ReturnLength;
SIZE_T ReturnSize;
DPRINT("CreateRemoteThread: hProcess: %p dwStackSize: %lu lpStartAddress"
": %p lpParameter: %p, dwCreationFlags: %lx\n", hProcess,
dwStackSize, lpStartAddress, lpParameter, dwCreationFlags);
@ -267,7 +268,7 @@ CreateRemoteThread(IN HANDLE hProcess,
ActivationContextBasicInformation,
&ActCtxInfo,
sizeof(ActCtxInfo),
&ReturnLength);
&ReturnSize);
if (!NT_SUCCESS(Status))
{
/* Fail */