#include <dwc.h>BOOL DWC_SvlInit(void);None.
| TRUE | Succeeded. |
| FALSE | Failed. |
Initializes service locator. Before using a service locator, first call this function once.
This function calls the NHTTPStartup function internally. Avoid the overlapping use of NHTTP before and after the interval from the time the function is called to the time the token is obtained.
The ServiceLocator library is the library used when an original server is used. Before connecting to the original server, use the ServiceLocator library to get the authentication token (contained in the service locator information) from the Nintendo Authentication Server.
When connecting to the original server, send the obtained authentication token to the original server and have this original server confirm that the sender was authenticated by the Nintendo Authentication Server.
For details on the operation of original servers, please check the Original Game Server Usage Manual. This function reference only describes how to use the service locator feature.
DWC_LoginAsync function to connect to Nintendo Wi-Fi Connection.DWC_SvlGetTokenAsync function and start the process of getting service locator information from the Nintendo Authentication Server.DWC_SvlProcess function to advance the service locator process, and to check the value returned by the function to determine whether or not the process has ended.DWCSvlResult variable. Included in this information is the authentication token to be sent to the original server.
Note: This API can only be used with titles for which the Nintendo Wi-Fi Connection Original Server Application Form has been submitted.
CONFIDENTIAL