MSHookProcess

Function MSHookProcess 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn MSHookProcess( _pid: c_int, _library: *const c_char, ) -> bool
Expand description

Hook into another process by injecting a library.

§Arguments

  • _pid - Process ID to hook into
  • _library - C string containing the library path to inject

§Returns

true if successful, false otherwise.

§Safety

This function requires appropriate permissions and the library path must be valid.