[−][src]Function vmread::create_context
pub fn create_context(
pid: i32
) -> Result<(WinContext, WinCtx), (i32, &'static str)>
Initialize a new vmread context based on the specified process ID.
Returns a tuple containing high-level and C contexts on success; Or a tuple containing the error number and string description on error
Arguments
pid
- target process ID. Value of 0 indicates automatic detection