some %x -> %p fixes

svn path=/trunk/; revision=16418
This commit is contained in:
Thomas Bluemel 2005-07-04 22:25:46 +00:00
parent cf3c6e6296
commit eea2c1d47c
5 changed files with 6 additions and 6 deletions

View file

@ -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();

View file

@ -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];

View file

@ -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;
}

View file

@ -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,

View file

@ -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);