ReadPChar

The ReadPChar function reads a pchar of a process and returns it as string.

function ReadPChar(
  dwProcessID: DWord;
  pAddr: Pointer
): string; stdcall;

Parameters

dwProcessID
[in] Process id or handle of the target process.
pAddr
[in] Address of the pchar inside the target process.
Remarks

-

Return Values

If the function succeeds, the return value is the PChar.

If the function fails, the return value is an empty string.

 

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
Header

Declared in uallKernel.pas