/*---------------------------------------------------------------------------* Project: Horizon File: ngc_Api.h Copyright (C)2010 Nintendo Co., Ltd. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Rev: 26069 $ *---------------------------------------------------------------------------*/ #ifndef NN_NGC_API_H_ #define NN_NGC_API_H_ namespace nn { namespace ngc { namespace CTR { /*! @brief 文字列に含まれる、数を表す文字の個数を返します。 多くの数値を含む文字列は、電話番号などの個人情報を示す場合があるため、 ユーザーが入力した文字列に含まれる数字の数にについて、 画面に同時に出すことが出来る合計数に制限があります。 UGCガイドラインを参照の上、この関数で個数を計上し、合計数が制限を超えないようにしなければなりません。 @param pString [in] 調べる対象のNULL終端文字列を指定します。 @return 指定された文字列に含まれる数を表す文字の個数が返ります。失敗した場合に負の数が返ります。 */ int CountNumbers( const wchar_t *pString ); } // namespace CTR } // namespace ngc } // namespace nn #endif // NN_NGC_API_H_