From 993c646e913bd2d0366ce4187be24dc993621441 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Mon, 27 Jul 2015 18:26:22 -0500 Subject: [PATCH] XAM_OVERLAPPED --- src/xenia/xbox.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/xenia/xbox.h b/src/xenia/xbox.h index 8a4990fa4..668be2e5e 100644 --- a/src/xenia/xbox.h +++ b/src/xenia/xbox.h @@ -191,6 +191,17 @@ enum X_FILE_INFORMATION_CLASS { XFileMaximumInformation }; +// Known as XOVERLAPPED to 360 code. +struct XAM_OVERLAPPED { + xe::be result; // 0x0 + xe::be length; // 0x4 + xe::be context; // 0x8 + xe::be event; // 0xC + xe::be completion_routine; // 0x10 + xe::be completion_context; // 0x14 + xe::be extended_error; // 0x18 +}; + inline uint32_t XOverlappedGetResult(void* ptr) { auto p = reinterpret_cast(ptr); return xe::load_and_swap(&p[0]);