ACTU:GetCommonInfo: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
m Move data blocks to main page of ACT
TimmSkiller (talk | contribs)
No edit summary
 
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0005|2|2}}
!  Index Word
{{IPC/RequestEntry|Output buffer size}}
!  Description
{{IPC/RequestEntry|Common data type}}
|-
{{IPC/MapPointerW|Output buffer}}
| 0
{{IPC/RequestEnd}}
| Header code [0x00050082]
|-
| 2
| Size
|-
| 3
| [[ACT_Services#DataBlocks|BlkID]]
|-
| 4
| (Size<<4)  <nowiki>|</nowiki> 12
|-
| 5
| Output buffer ptr
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0005|1|2}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/MapPointerW|Output buffer}}
| 0
{{IPC/RequestEnd}}
| Header code
|-
| 1
| Result code
|}


=Description=
=Description=
This returns common account info. This data usually comes from common.dat
Returns common account information, not specific to any account.
 
See [[ACT_Services#DataBlocks|DataBlocks]] for possible data types.

Latest revision as of 18:59, 12 January 2025

Request

Index Word Description
0
Header 0x00050082 Cmd 0x0005 Param 2 Xlat 2
1 Output buffer size
2 Common data type
3 Descriptor for mapping a write-only buffer in the target process
4 Output buffer

Response

Index Word Description
0
Header 0x00050042 Cmd 0x0005 Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a write-only buffer in the target process
3 Output buffer

Description

Returns common account information, not specific to any account.

See DataBlocks for possible data types.