Difference between revisions of "ACTU:GenerateUuid"
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...") |
TimmSkiller (talk | contribs) |
||
Line 22: | Line 22: | ||
! Value of "Unique ID" parameter !! Description | ! Value of "Unique ID" parameter !! Description | ||
|- | |- | ||
− | | -1 (0xFFFFFFFF) || | + | | -1 (0xFFFFFFFF) || Generates a [[ACT_Services#Regular_UUIDs|regular UUID]]. |
|- | |- | ||
− | | -2 (0xFFFFFFFE) || Returns a [[ACT_Services#Title-specific_UUIDs|title-specific UUID]] using the unique ID for the current (caller) process. | + | | -2 (0xFFFFFFFE) || Returns a [[ACT_Services#Title-specific_UUIDs|title-specific UUID]] using the unique ID for the current (caller) process, based on a freshly generated [[ACT_Services#Regular_UUIDs|regular UUID]]. |
|- | |- | ||
− | | (all other values) || Returns a [[ACT_Services#Title-specific_UUIDs|title-specific UUID]] using the given unique ID value. | + | | (all other values) || Returns a [[ACT_Services#Title-specific_UUIDs|title-specific UUID]] using the given unique ID value, based on a freshly generated [[ACT_Services#Regular_UUIDs|regular UUID]]. |
|} | |} |
Latest revision as of 19:14, 19 January 2025
Request[edit]
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Unique ID (see description) |
Response[edit]
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2-5 | UUID |
Description[edit]
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) | Generates a regular UUID. |
-2 (0xFFFFFFFE) | Returns a title-specific UUID using the unique ID for the current (caller) process, based on a freshly generated regular UUID. |
(all other values) | Returns a title-specific UUID using the given unique ID value, based on a freshly generated regular UUID. |