mirror of
https://github.com/reactos/reactos.git
synced 2025-06-22 20:30:18 +00:00
Fix 64bit issues.
svn path=/branches/ros-amd64-bringup/; revision=41485
This commit is contained in:
parent
cdaa1f6d82
commit
e71bc2b3e6
2 changed files with 5 additions and 5 deletions
|
@ -65,7 +65,7 @@ ConioConsoleCtrlEventTimeout(DWORD Event, PCSRSS_PROCESS_DATA ProcessData, DWORD
|
|||
|
||||
Thread = CreateRemoteThread(ProcessData->Process, NULL, 0,
|
||||
(LPTHREAD_START_ROUTINE) ProcessData->CtrlDispatcher,
|
||||
(PVOID) Event, 0, NULL);
|
||||
UlongToPtr(Event), 0, NULL);
|
||||
if (NULL == Thread)
|
||||
{
|
||||
DPRINT1("Failed thread creation (Error: 0x%x)\n", GetLastError());
|
||||
|
|
|
@ -190,7 +190,7 @@ Win32CsrHardError(IN PCSRSS_PROCESS_DATA ProcessData,
|
|||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
ULONG nParam = 0;
|
||||
PRTL_MESSAGE_RESOURCE_ENTRY MessageResource;
|
||||
ULONG ParameterList[MAXIMUM_HARDERROR_PARAMETERS];
|
||||
ULONG_PTR ParameterList[MAXIMUM_HARDERROR_PARAMETERS];
|
||||
LPSTR CaptionText, MessageBody;
|
||||
LPWSTR szxCaptionText, szxMessageBody;
|
||||
DWORD SizeOfAllUnicodeStrings = 0;
|
||||
|
@ -330,7 +330,7 @@ Win32CsrHardError(IN PCSRSS_PROCESS_DATA ProcessData,
|
|||
ParameterStringU.MaximumLength = TempStringU.MaximumLength;
|
||||
DPRINT("ParameterStringU=\'%wZ\'\n", &ParameterStringU);
|
||||
RtlUnicodeStringToAnsiString(&ParamStringA, &ParameterStringU, TRUE);
|
||||
ParameterList[nParam] = (ULONG)ParamStringA.Buffer;
|
||||
ParameterList[nParam] = (ULONG_PTR)ParamStringA.Buffer;
|
||||
SizeOfAllUnicodeStrings += ParamStringA.MaximumLength;
|
||||
}
|
||||
}
|
||||
|
@ -345,7 +345,7 @@ Win32CsrHardError(IN PCSRSS_PROCESS_DATA ProcessData,
|
|||
// get text string of the error code
|
||||
Status = RtlFindMessage(
|
||||
(PVOID)GetModuleHandle(TEXT("ntdll")),
|
||||
(ULONG)RT_MESSAGETABLE,
|
||||
(ULONG_PTR)RT_MESSAGETABLE,
|
||||
LANG_NEUTRAL,
|
||||
HardErrorMessage->Status,
|
||||
&MessageResource );
|
||||
|
@ -412,7 +412,7 @@ Win32CsrHardError(IN PCSRSS_PROCESS_DATA ProcessData,
|
|||
MessageBody = NULL;
|
||||
Status = RtlFindMessage(
|
||||
(PVOID)GetModuleHandle(TEXT("ntdll")),
|
||||
(ULONG)RT_MESSAGETABLE,
|
||||
(ULONG_PTR)RT_MESSAGETABLE,
|
||||
LANG_NEUTRAL,
|
||||
ParameterList[0],
|
||||
&MsgResException);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue