Difference between revisions of "DLPSRVR:Initialize"

From 3dbrew
Jump to navigation Jump to search
m (Copy paste error)
m (Add response table)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
|-
 
|-
 
| 4
 
| 4
| u8 unk
+
| u8 Child index
 
|-
 
|-
 
| 5
 
| 5
| 0x40000
+
| Block buffer size? 0x40000
 
|-
 
|-
 
| 6
 
| 6
| 0x2
+
| Block buffer num? 0x2
 
|-
 
|-
 
| 7
 
| 7
Line 34: Line 34:
 
| 9
 
| 9
 
| Event handle
 
| Event handle
 +
|}
 +
 +
=Response=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Word
 +
!  Description
 +
|-
 +
| 0
 +
| Header code
 +
|-
 +
| 1
 +
| Result code
 
|}
 
|}
  
 
=Description=
 
=Description=
This initializes the DLP server.
+
This initializes the DLP server. The DLP child to be used is selected based on the process title ID and the child index given. The high title ID must be "00040001" and the low title ID must be: low_title_id & 0xFF == child_index

Latest revision as of 10:37, 8 July 2024

Request[edit]

Index Word Description
0 Header code [0x00010183]
1 Sharedmem size.
2 u8 Max number of clients.
3 Process Id
4 u8 Child index
5 Block buffer size? 0x40000
6 Block buffer num? 0x2
7 MoveHandleDescriptor for 2 handles
8 Shared mem handle
9 Event handle

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This initializes the DLP server. The DLP child to be used is selected based on the process title ID and the child index given. The high title ID must be "00040001" and the low title ID must be: low_title_id & 0xFF == child_index