|
libnx
|
Account (acc:*) service IPC wrapper. More...
Go to the source code of this file.
Data Structures | |
| struct | AccountProfile |
| struct | AccountUserData |
| struct | AccountProfileBase |
Functions | |
| Result | accountInitialize (void) |
| void | accountExit (void) |
| Service * | accountGetService (void) |
| Result | accountGetActiveUser (u128 *userID, bool *account_selected) |
| Get the userID for the currently active user. More... | |
| Result | accountGetProfile (AccountProfile *out, u128 userID) |
| Get an AccountProfile for the specified userID. | |
| Result | accountProfileGet (AccountProfile *profile, AccountUserData *userdata, AccountProfileBase *profilebase) |
| Get AccountUserData and AccountProfileBase for the specified profile, userdata is optional (can be NULL). | |
| Result | accountProfileGetImageSize (AccountProfile *profile, size_t *image_size) |
| Get the icon image size. | |
| Result | accountProfileLoadImage (AccountProfile *profile, void *buf, size_t len, size_t *image_size) |
| Load the JPEG profile icon, valid for both Miis and character icons. The output image_size is the same as the one from accountProfileGetImageSize. | |
| void | accountProfileClose (AccountProfile *profile) |
Account (acc:*) service IPC wrapper.
Get the userID for the currently active user.
The output userID is only valid when the output account_selected==1, otherwise no user is currently selected. An user is only selected when the user-account selection applet was used to select an user at least once before.
1.8.11