wut  v1.7.0
Wii U Toolchain
title.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include <coreinit/mcp.h>
4 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 typedef enum SYSTEM_APP_ID
19 {
33 
34 // for compatibility
35 WUT_DEPRECATED("This enum name is misleading and incorrect. Please use SYSTEM_APP_ID_WII_U_MENU")
37 
38 // for compatibility
39 WUT_DEPRECATED("This enum name is misleading and incorrect. Please use SYSTEM_APP_ID_WII_U_MENU")
41 
51 BOOL
52 SYSCheckTitleExists(uint64_t TitleId);
53 
66 int32_t
67 SYSGetPFIDFromTitleID(uint64_t TitleId);
68 
81 int32_t
82 SYSGetUPIDFromTitleID(uint64_t TitleId);
83 
90 int32_t
92 
99 int32_t
101 
106 uint64_t
108 
113 uint64_t
115  MCPRegion prod_area);
116 
121 uint64_t
123 
124 #ifdef __cplusplus
125 }
126 #endif
127 
MCPRegion
Definition: mcp.h:88
int32_t SYSGetUPIDFromTitleID(uint64_t TitleId)
Gets the PFID/UPID for a given title.
int32_t SYSGetCallerUPID()
Gets the PFID/UPID of the calling (current) application.
static const SYSTEM_APP_ID SYSTEM_APP_ID_UPDATER
Definition: title.h:36
int32_t SYSGetCallerPFID()
Gets the PFID/UPID of the calling (current) application.
uint64_t _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID id)
Gets the title id for a given SYSTEM_APP_ID.
uint64_t SYSGetCallerTitleId()
Gets the title id of the calling (current) application.
int32_t SYSGetPFIDFromTitleID(uint64_t TitleId)
Gets the PFID/UPID for a given title.
BOOL SYSCheckTitleExists(uint64_t TitleId)
Check if a given title exists and is installed on the system.
SYSTEM_APP_ID
Definition: title.h:19
static const SYSTEM_APP_ID SYSTEM_APP_ID_HOME_MENU
Definition: title.h:40
uint64_t _SYSGetSystemApplicationTitleIdByProdArea(SYSTEM_APP_ID id, MCPRegion prod_area)
Gets the title id for a given SYSTEM_APP_ID in the given region.
@ SYSTEM_APP_ID_DAILY_LOG
Definition: title.h:26
@ SYSTEM_APP_ID_ELECTRONIC_MANUAL
Definition: title.h:29
@ SYSTEM_APP_ID_WIIU_CHAT
Definition: title.h:30
@ SYSTEM_APP_ID_WII_U_MENU
Definition: title.h:20
@ SYSTEM_APP_ID_ACCOUNT_SETTINGS
Definition: title.h:25
@ SYSTEM_APP_ID_MII_MAKER
Definition: title.h:24
@ SYSTEM_APP_ID_USER_SETTINGS
Definition: title.h:23
@ SYSTEM_APP_ID_HEALTH_AND_SAFETY
Definition: title.h:28
@ SYSTEM_APP_ID_PARENTAL_CONTROLS
Definition: title.h:22
@ SYSTEM_APP_ID_SYSTEM_SETTINGS
Definition: title.h:21
@ SYSTEM_APP_ID_SOFTWARE_DATA_TRANSFER
Definition: title.h:31
@ SYSTEM_APP_ID_NOTIFICATIONS
Definition: title.h:27
#define WUT_DEPRECATED(reason)
Definition: wut.h:22
int32_t BOOL
Definition: wut_types.h:7