InjectMe

The InjectMe function loads the source process into a target process.

function InjectMe(
  dwProcessID: DWord;
  pDllMain: Pointer
): Boolean; stdcall;

Parameters

dwProcessID
[in] ProcessID or ProcessHandle of the target process which shall load the source process.
 
 
pDllMain
[in] Pointer to function which is called when the code is loaded to the target process. Must look like a dllmain function.
 
 
Remarks

InjectMe is using CreateRemoteThread for WinNT Systems and a ContextModification for Win9x Systems.

 

Return Values

If the function succeeds, the return value is true.

If the function fails, the return value is false.

 

Requirements

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

Declared in uallHook.pas