libnx/nx/include/switch/services/acc.h
TuxSH 5abc4873d8 Include only what is really necessary...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00

10 lines
363 B
C

#pragma once
#include <switch/types.h>
Result accountInitialize(void);
void accountExit(void);
Handle accountGetSessionService(void);
/// 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.
Result accountGetActiveUser(u128 *userID, bool *account_selected);