DWC_CheckProfanityExAsync

Syntax

#include <dwc.h>
BOOL DWC_CheckProfanityExAsync(const u16 **words,
                               int wordsnum,
                               const char *reserved,
                               int timeout,
                               char *result,
                               int *badwordsnum,
                               DWCProfRegion region);

Arguments

words Pointer to the string array to check.
  • Use Unicode (little-endian UTF16) for the character code.
    Be sure to convert to Unicode when using another type of character code.
  • Substitute a space in the screen name for any unique characters that are not in Unicode or the IPL font.
  • The terminator must be "\0\0" (0x0000 in u16).
  • The total length of all the strings in the array must not exceed 501 characters (including the string terminators).
  • You cannot specify NULL for a string in the array.
  • After the function call, it is acceptable to destroy the string array and the strings inside the array.
wordsnum Number of elements in the string array specified by words (1 to 50).
reserved Specify NULL.
timeout Time (in milliseconds) to server response timeout.
(If 0 is specified here, the default value of 10000 is used.)
result Pointer to the storage location for the check result (must be a region of wordsnum bytes).
badwordsnum Pointer to the storage location for the number of illegal strings. This number is included in the check result.
region Target market.
Specify either DWC_PROF_REGION_ALL, which forcibly sets the target to all markets by specifying A, or DWC_PROF_REGION_SELF, which sets the target according to the last character of the game code in the ROM registry data.*

Return Values

TRUE The process of checking for illegal strings has started.
FALSE The process of checking for illegal strings failed to start.

Description

Starts an illegal string check for the target market region given by the region argument.
This function has the same specifications as the DWC_CheckProfanityAsync function except that the target market (essentially DWC_PROF_REGION_ALL only) can be specified.
For a description of the illegal string check, see the page for the DWC_CheckProfanityAsync function.

See Also

DWC_CheckProfanityProcess
DWC_LoginAsync
DWC_CheckProfanityAsync

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL