Function windows_win::raw::process::read_memory
source · pub fn read_memory(
process: HANDLE,
base_addr: usize,
storage: &mut [u8]
) -> Result<()>
Expand description
Reads process memory.
Parameters
process
- Pointer to a opened process.base_addr
- Address from where to start reading.storage
- Storage to hold memory. Itslen
determines amount of bytes to read.
Return
Ok
- Vector with data.Err
- Error reason.