[][src]Function vmread_sys_kmod::InitializeContext

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

@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.