Difference between revisions of "ACTU:AcquireAccountInfo"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0016|2|2}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/RequestEntry|u8, DataBlock BlkID (see descri...")
 
Line 3: Line 3:
 
{{IPC/RequestHeader|0x0016|2|2}}
 
{{IPC/RequestHeader|0x0016|2|2}}
 
{{IPC/RequestEntry|u8, Account slot}}
 
{{IPC/RequestEntry|u8, Account slot}}
{{IPC/RequestEntry|u8, [[ACT_Services#DataBlocks|DataBlock BlkID]] (see description)}}
+
{{IPC/RequestEntry|u32, [[ACT_Services#DataBlocks|DataBlock BlkID]] (see description)}}
 
{{IPC/CopyHandle|1}}
 
{{IPC/CopyHandle|1}}
 
{{IPC/CopyHandleEntry|Completion event handle}}
 
{{IPC/CopyHandleEntry|Completion event handle}}

Revision as of 14:39, 7 March 2025

Request

Index Word Description
0
Header 0x00160082 Cmd 0x0016 Param 2 Xlat 2
1 u8, Account slot
2 u32, DataBlock BlkID (see description)
3 Descriptor for copying 1 handle
4 Completion event handle

Response

Index Word Description
0
Header 0x00160040 Cmd 0x0016 Param 1 Xlat 0

Description

Requests account info for the given account. However, only DataBlock BlkID 0x9 is supported (Mail address). Thus, this command can only request the mail address for any given account.