Export (0) Print
Expand All

RtlPcToFileHeader function

Retrieves the base address of the image that contains the specified PC value.

Syntax


PVOID WINAPI RtlPcToFileHeader(
  _In_   PVOID PcValue,
  _Out_  PVOID *BaseOfImage
);

Parameters

PcValue [in]

The PC value. The function searches all modules mapped into the address space of the calling process for a module that contains this value.

BaseOfImage [out]

The base address of the image containing the PC value. This value must be added to any relative addresses in the headers to locate the image.

Return value

If the PC value is found, the function returns the base address of the image that contains the PC value.

If no image contains the PC value, the function returns NULL.

Remarks

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Product

Windows XP Professional x64 Edition or 64-bit editions of Windows Server 2003

Header

WinNT.h

Library

Kernel32.lib

DLL

Kernel32.dll

See also

RtlLookupFunctionEntry

 

 

Community Additions

ADD
Show:
© 2014 Microsoft