mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
include/sysapp: Add title.h - SYSCheckTitleExists, SYSGetPFIDFromTitleID
This commit is contained in:
parent
610ed35050
commit
b142d92e36
63
include/sysapp/title.h
Normal file
63
include/sysapp/title.h
Normal file
@ -0,0 +1,63 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup sysapp_title SYSAPP Title
|
||||
* \ingroup sysapp
|
||||
*
|
||||
* Functions to check titles and their IDs, as well as retreiving some metadata
|
||||
* about them.
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Check if a given title exists and is installed on the system.
|
||||
*
|
||||
* \param TitleId
|
||||
* The ID of the title to check.
|
||||
*
|
||||
* \return
|
||||
* \c TRUE if the title exists, or \c FALSE otherwise.
|
||||
*/
|
||||
BOOL
|
||||
SYSCheckTitleExists(uint64_t TitleId);
|
||||
|
||||
/**
|
||||
* Gets the PFID/UPID for a given title.
|
||||
*
|
||||
* \param TitleId
|
||||
* The ID of the title to get the PFID/UPID from.
|
||||
*
|
||||
* \return
|
||||
* The PFID/UPID for the title, or a negative value on error.
|
||||
*
|
||||
* \note
|
||||
* This function is identical to \link SYSGetUPIDFromTitleID \endlink.
|
||||
*/
|
||||
int32_t
|
||||
SYSGetPFIDFromTitleID(uint64_t TitleId);
|
||||
|
||||
/**
|
||||
* Gets the PFID/UPID for a given title.
|
||||
*
|
||||
* \param TitleId
|
||||
* The ID of the title to get the PFID/UPID from.
|
||||
*
|
||||
* \return
|
||||
* The PFID/UPID for the title, or a negative value on error.
|
||||
*
|
||||
* \note
|
||||
* This function is identical to \link SYSGetPFIDFromTitleID \endlink.
|
||||
*/
|
||||
int32_t
|
||||
SYSGetUPIDFromTitleID(uint64_t TitleId);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
Loading…
Reference in New Issue
Block a user