TWL DWC Library (DWC) Function List

Common / Utilities

Initialization

DWC_InitForDevelopment Initializes the DWC library. (For development servers)
DWC_InitForProduction Initializes the DWC library. (For production servers)
DWC_Debug_DWCInitError Function to check errors in the DWC_InitForDevelopment and DWC_InitForProduction functions. (For debugging.)

Errors

DWC_GetLastError Gets the type of the last communication error.
DWC_GetLastErrorEx Gets the type of the last communication error. The extended version that can obtain the recovery type for the library.
DWC_ClearError Clears the record of communication errors.

Memory Allocation

DWCAllocEx Function for allocating memory used by the entire DWC library.
DWCFreeEx Function for deallocating memory used by the entire DWC library.
DWC_Alloc Allocates memory, using the function set by the application.
DWC_AllocEx Allocates memory, using the function set by the application.
DWC_Free Frees memory, using the function set by the application.
DWC_Realloc Reallocates memory, using the function set by the application.
DWC_ReallocEx Reallocates memory, using the function set by the application.

Base 64 Conversion

DWC_Base64Encode Encodes the specified data as Base64 data.
DWC_Base64Decode Decodes the specified Base64 character string.

Debug Output

DWC_SetReportLevel Specifies the debug display level.

Constants, Macros, Enumerators

See here.

Accounts

System Information

DWC_GetAuthenticatedUserId Gets the authenticated user ID stored in the Nintendo DS.

Internet Connections

Internet Connections

DWC_InitInet Initializes the automatic connection control object.
DWC_InitInetEx Initializes the automatic connection control object. (Detailed specification version)
DWC_SetRwinSize Sets the rwin size used by TCP.
DWC_SetConnectApType Explicitly specifies the type of AP for connections in the auto-connect process (For debugging.)
DWC_ConnectInetAsync Starts the automatic connection process.
DWC_DebugConnectInetAsync Starts the automatic connection process.
Specifies a particular AP without using Nintendo DS settings (For debugging.)
DWC_CheckInet Checks the progress status of the automatic connection process.
DWC_ProcessInet Carries out automatic connection processing.
DWC_GetInetStatus Gets the Internet connection status.
DWC_UpdateConnection Checks the connection to an access point.
DWC_GetApInfo Gets information specific to the connected access point.
DWC_GetProxySetting Gets proxy setting information for the connected access point.
DWC_GetLinkLevel Gets the wireless signal strength between the local DS and the access point.
DWC_GetUdpPacketDropNum Gets the number of times that UDP packets could not be received because of a receive buffer overflow.
DWC_CleanupInet Ends automatic connection control (synchronous version).
DWC_CleanupInetAsync Ends automatic connection control (asynchronous version).
DWC_TestInetAsync Starts the Internet connection test.
DWC_TestInetProcess Executes the Internet connection test communication process.

Nintendo Wi-Fi Connection Setup

DWC_StartUtility Starts the Nintendo Wi-Fi Connection setup.
DWC_StartUtilityEx Starts the Nintendo Wi-Fi Connection setup. (version with no work memory specified)

Structures

DWCApInfo This structure stores information specific to the connected access point.
DWCProxySetting Gets proxy setting information for the connected access point.

Constants, Macros, Enumerators

See here.

Authentication Server

Login

DWC_GetIngamesnCheckResult Gets the result of checking the in-game screen name on the authentication server.
DWC_NASLoginAsync Performs authentication with the Nintendo Authentication Server and connects to Nintendo Wi-Fi Connection.
DWC_NASLoginProcess Proceeds with the authentication process and gets its state.
DWC_NASLoginAbort Aborts the authentication process.

Server Time

DWC_GetDateTime Gets the current date and time in GMT.

Service Locator

DWC_SVLGetTokenAsync Starts the process for getting service locator information.
DWC_SVLProcess Advances the process for getting service locator information.
DWC_SVLAbort Aborts the process for getting service locator information.

Structures

DWCSvlResult Structure for storing obtained service locator information.

Constants, Macros, Enumerators

See here.

Download

General

DWCNdCallback Called after the various asynchronous processes of the Download library have completed.
DWC_NdInitAsync Starts initialization of the download library.
DWC_NdProcess Advances the Download library process.
DWC_NdCleanupAsync Begins closing the download library.
DWC_NdSetAttr Configures the attribute information necessary for communications with the Download server.
DWC_NdGetFileListNumAsync Gets the number of downloadable files that comply with the currently configured attribute.
DWC_NdGetFileListAsync Gets the list of files that comply with the currently configured attribute.
DWC_NdGetFileAsync Specifies the file information obtained by the DWC_NdGetFileListAsync function and starts downloading.
DWC_NdCancelAsync Cancels the currently executing asynchronous process.
DWC_NdGetProgress Gets the state of progress of the download that is currently executing.

Structures

DWCNdFileInfo The structure that stores individual file information.

Constants, Macros, Enumerators

See here.

Illegal Character String Check

General

DWC_CheckProfanityAsync Starts to check for illegal character strings.
DWC_CheckProfanityExAsync Starts checking for illegal character strings in the specified target region.
DWC_CheckProfanityProcess Proceeds with the check for illegal character strings.

Constants, Macros, Enumerators

See here.













































CONFIDENTIAL