pub unsafe extern "C" fn ACTA_BindToNewServerAccount(
accountSlot: u8_,
accountId: *mut AccountId,
mailAddress: *mut AccountMailAddress,
password: *mut AccountPassword,
isParentEmail: bool,
marketingFlag: bool,
offDeviceFlag: bool,
birthDateTimestatmp: s64,
gender: u8_,
region: u32_,
timezone: *mut AccountTimezone,
eulaInfo: *mut EulaInfo,
parentalConsentTimestamp: s64,
parentalConsentId: u32_,
completionEvent: Handle,
) -> ResultExpand description
Links a new server account to a local console account. In other words, this creates and links an NNID.
§Arguments
accountSlot- The account slot number of the local console account to bind.accountId- Pointer to the account ID to use for the new server account.mailAddress- Pointer to the email address to use for the new server account.password- Pointer to the password to use for the new server account.isParentEmail- Whether or not the input email address is a parental email address.marketingFlag- Whether or not the user has consented to receiving marketing emails. (“Customized Email Offers”)offDeviceFlag- Whether or not the user has allowed using the server account from other devices. (“Access from PCs and Other Devices”)birthDateTimestamp- A birth date timestamp in the format milliseconds elapsed since 01.01.2000 00:00:00 UTC.parentalConsentTimestamp- When parental consent is required, the timestamp of parental consent in the format milliseconds elapsed since 01.01.2000 00:00:00 UTC.parentalConsentId- When parental consent is required, the resulting ID corresponding to the consent.completionEvent- The event handle to signal once the request has finished.