mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
some %x -> %p fixes
svn path=/trunk/; revision=16418
This commit is contained in:
parent
cf3c6e6296
commit
eea2c1d47c
5 changed files with 6 additions and 6 deletions
|
@ -251,7 +251,7 @@ RtlSetCurrentEnvironment(PWSTR NewEnvironment,
|
|||
{
|
||||
PVOID EnvPtr;
|
||||
|
||||
DPRINT("NewEnvironment %x OldEnvironment %x\n",
|
||||
DPRINT("NewEnvironment 0x%p OldEnvironment 0x%p\n",
|
||||
NewEnvironment, OldEnvironment);
|
||||
|
||||
RtlAcquirePebLock();
|
||||
|
|
|
@ -937,7 +937,7 @@ void DumpStackFrames ( PULONG Frame, ULONG FrameCount )
|
|||
}
|
||||
while ( Frame != 0 && (ULONG)Frame != 0xDEADBEEF && (ULONG)Frame != 0xcdcdcdcd && (ULONG)Frame != 0xcccccccc && i++ < FrameCount )
|
||||
{
|
||||
DbgPrint("<%X>", (PVOID)Frame[1]);
|
||||
DbgPrint("<%p>", (PVOID)Frame[1]);
|
||||
if (Frame[1] == 0xdeadbeef)
|
||||
break;
|
||||
Frame = (PULONG)Frame[0];
|
||||
|
|
|
@ -28,12 +28,12 @@ RtlImageNtHeader (IN PVOID BaseAddress)
|
|||
if (DosHeader && DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
|
||||
{
|
||||
DPRINT1("DosHeader->e_magic %x\n", DosHeader->e_magic);
|
||||
DPRINT1("NtHeader %x\n", (BaseAddress + DosHeader->e_lfanew));
|
||||
DPRINT1("NtHeader 0x%p\n", ((ULONG_PTR)BaseAddress + DosHeader->e_lfanew));
|
||||
}
|
||||
|
||||
if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE)
|
||||
{
|
||||
NtHeader = (PIMAGE_NT_HEADERS)(BaseAddress + DosHeader->e_lfanew);
|
||||
NtHeader = (PIMAGE_NT_HEADERS)((ULONG_PTR)BaseAddress + DosHeader->e_lfanew);
|
||||
if (NtHeader->Signature == IMAGE_NT_SIGNATURE)
|
||||
return NtHeader;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ RtlpMapFile(PUNICODE_STRING ImageFileName,
|
|||
|
||||
RtlDeNormalizeProcessParams (Ppb);
|
||||
|
||||
// DbgPrint("ImagePathName %x\n", Ppb->ImagePathName.Buffer);
|
||||
/* DbgPrint("ImagePathName 0x%p\n", Ppb->ImagePathName.Buffer); */
|
||||
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
ImageFileName,
|
||||
|
|
|
@ -516,7 +516,7 @@ RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString,
|
|||
{
|
||||
ULONG DestSize;
|
||||
|
||||
DPRINT("RtlInitUnicodeString(DestinationString %x, SourceString %x)\n",
|
||||
DPRINT("RtlInitUnicodeString(DestinationString 0x%p, SourceString 0x%p)\n",
|
||||
DestinationString,
|
||||
SourceString);
|
||||
|
||||
|
|
Loading…
Reference in a new issue