Difference between revisions of "FRDA:AddFriendOnline"

From 3dbrew
Jump to navigation Jump to search
(Obviously wrong. Please verify your param list against header code next time, thanks.)
 
(2 intermediate revisions by 2 users 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
 
| Handle for ???
 
|}
 
  
 
=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 14:43, 18 December 2024

Request[edit]

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[edit]

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

Description[edit]

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