mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 08:41:41 +00:00
Amd64/misc 64bit fixes (#236)
[REACTOS] Misc 64 bit fixes * [NTOS:MM] Allow MEM_DOS_LIM in NtMapViewOfSection on x64 as well * [NTOS:MM] Implement x64 version of MmIsDisabledPage * [HAL] Remove obsolete code * [NTOS:KE] Fix amd64 version of KeContextToTrapFrame and KeTrapFrameToContext * [XDK] Fix CONTEXT_XSTATE definition * [PCNET] Convert physical address types from pointers to PHYSICAL_ADDRESS
This commit is contained in:
parent
5a4693ff6f
commit
a2f7de7ee8
17 changed files with 72 additions and 76 deletions
|
@ -63,14 +63,15 @@ static LPWSTR load_message( HMODULE module, UINT id, WORD lang )
|
|||
{
|
||||
MESSAGE_RESOURCE_ENTRY *mre;
|
||||
WCHAR *buffer;
|
||||
NTSTATUS status;
|
||||
NTSTATUS Status;
|
||||
|
||||
TRACE("module = %p, id = %08x\n", module, id );
|
||||
|
||||
if (!module) module = GetModuleHandleW( NULL );
|
||||
if ((status = RtlFindMessage( module, (ULONG)RT_MESSAGETABLE, lang, id, &mre )) != STATUS_SUCCESS)
|
||||
Status = RtlFindMessage(module, (ULONG_PTR)RT_MESSAGETABLE, lang, id, &mre);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastError( RtlNtStatusToDosError(status) );
|
||||
SetLastError(RtlNtStatusToDosError(Status));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue