FRDA:AddFriendOnline: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Unknown (talk | contribs)
Request: Oops. My bad, thanks for correcting me Wwylele!
TimmSkiller (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0406|1|2}}
!  Index Word
{{IPC/RequestEntry|Principal ID of friend to add}}
!  Description
{{IPC/CopyHandle|1}}
|-
{{IPC/CopyHandleEntry|Completion handle}}
| 0
{{IPC/RequestEnd}}
| Header code [0x04060042]
|-
| 1
| principal_id
|-
| 2
| 0 (one copy handle translation descriptor)
|-
| 3
| Event Handle
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0406|1|0}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/RequestEnd}}
| 0
 
| Header code
=Description=
|-
Adds a friend to the local friends list and registers the friend with the friends server.
| 1
| Result code
|}

Latest revision as of 15:43, 18 December 2024

Request

Index Word Description
0
Header 0x04060042 Cmd 0x0406 Param 1 Xlat 2
1 Principal ID of friend to add
2 Descriptor for copying 1 handle
3 Completion handle

Response

Index Word Description
0
Header 0x04060040 Cmd 0x0406 Param 1 Xlat 0
1 Result code

Description

Adds a friend to the local friends list and registers the friend with the friends server.