ACTU:GenerateUuid: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x000D|1|0}} {{IPC/RequestEntry|Unique ID (see description)}} {{IPC/RequestEnd}} =Response= {{IPC/Request}} {{#vardefine:ipc_off..."
(No difference)

Revision as of 19:32, 19 January 2025

Request

Index Word Description
0
Header 0x000D0040 Cmd 0x000D Param 1 Xlat 0
1 Unique ID (see description)

Response

Index Word Description
0
Header 0x000D0140 Cmd 0x000D Param 5 Xlat 0
1 Result code
2-5 UUID

Description

Generates a UUID. See UUIDs.

The following methods of UUID generation can be used with this command.

Value of "Unique ID" parameter Description
-1 (0xFFFFFFFF) Returns a regular UUID.
-2 (0xFFFFFFFE) Returns a title-specific UUID using the unique ID for the current (caller) process.
(all other values) Returns a title-specific UUID using the given unique ID value.