SysCallerData

Syntax

#include <cafe/sysapp.h>

typedef enum SysCallerType
{
    SYS_CALLER_TYPE_INVALID         = -1,
    SYS_CALLER_TYPE_LAUNCHER        = 2,
    SYS_CALLER_TYPE_TVII            = 3,
    SYS_CALLER_TYPE_HBM             = 5,
    SYS_CALLER_TYPE_MINI_MIIVERSE   = 7,
    SYS_CALLER_TYPE_MIIVERSE        = 9,
    SYS_CALLER_TYPE_FRIEND_LIST     = 11,
    SYS_CALLER_TYPE_GAME            = 15,
    SYS_CALLER_TYPE_END
} SysCallerType;

typedef struct SysCallerData
{
    SysCallerType   type;
    u64             titleId;
} SysCallerData;

Elements

type An enum value representing the caller.
titleId The TitleID of the caller.

Description

This structure is passed to SYSGetArguments to get caller information.

Types of Calling Applications

SysCallerTypeValueCalling Application
SYS_CALLER_TYPE_INVALID-1An invalid calling application.
SYS_CALLER_TYPE_LAUNCHER2A reserved value. No arguments are passed if the calling application is started from the Wii U Menu, so the return value of the function is SYS_ERROR_NO_ARGS.
SYS_CALLER_TYPE_TVII3A reserved value.
SYS_CALLER_TYPE_HBM5A reserved value.
SYS_CALLER_TYPE_MINI_MIIVERSE7A reserved value.
SYS_CALLER_TYPE_MIIVERSE9Miiverse.
SYS_CALLER_TYPE_FRIEND_LIST11Friend list.
SYS_CALLER_TYPE_GAME15A reserved value.
SYS_CALLER_TYPE_END-The last enum value.

See Also

SYSGetArguments

Revision History

2013/08/07 Initial version.


CONFIDENTIAL