[][src]Function vmread_sys::InitializeContext

pub unsafe extern "C" fn InitializeContext(
    ctx: *mut WinCtx,
    pid: pid_t
) -> c_int

@brief Initialize the vmread context

@param ctx context to be initialized @param pid target process ID

Initialize ctx by using pid. If pid is 0, the function tries to determine it automatically.

@return 0 if initialization was successful; otherwise, the return value is an error value.