pub fn write_memory(
    process: HANDLE,
    base_addr: usize,
    data: &[u8]
) -> Result<()>
Expand description

Writes into process memory.

Parameters

  • process - Pointer to a opened process.
  • base_addr - Address from where to start writing.
  • data - Slice with write data.

Return

  • Ok - Success.
  • Err - Error reason.