MP:GetHandle

Revision as of 18:56, 22 January 2017 by Yellows8 (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00010040]}} {{IPC/RequestEntry|s32 index}} {{IPC/RequestEnd}} =Response= {{IPC/Request...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Request

Index Word Description
0 Header code [0x00010040]
1 s32 index

Response

Index Word Description
0 Header code
1 Result code
2 0x0 Translate header for handle-transfer
3 Output handle

Description

This loads a handle from MP-sysmodule state.

When the index is <16, the handle is loaded from an array of handles(presumably for each node on the network). When the index is 16, the handle is loaded from stateptrother+{someoffset}. When the index is >16, the handle is loaded from stateptrother+{someoffsetother}