指定した文字列の長さを Unicode 文字で取得します。
構文
UINT32 WindowsGetStringLen(
HSTRING string
);
パラメーター
string
型: [in] HSTRING
長さが見つかる文字列。
戻り値
型: UINT32
文字列内の Unicode 文字の数 (埋め込み null 文字を含むが、終端の null を除く)。文字列が NULL の場合は 0。
Requirements
| Requirement | 価値 |
|---|---|
| サポートされる最小クライアント | Windows 8 [デスクトップ アプリ |UWP アプリ] |
| サポートされている最小のサーバー | Windows Server 2012 [デスクトップ アプリ |UWP アプリ] |
| ターゲット プラットフォーム の | ウィンドウズ |
| Header | winstring.h |
| Library | mincore.lib |