共用方式為


uaw_wcslen函式 (stralign.h)

[不支援此函式,未來可能會變更或無法使用。 應用程式應該使用 wcslen 函式。]

擷取以 Null 結尾的 Unicode 字串中的字元數。

語法

size_t uaw_wcslen(
  [in] PCUWSTR String
);

參數

[in] String

Null 終止 Unicode 字串的指標。

傳回值

傳回值是 String 中的字元數,不包括終止的 Null 字元。

備註

此函式僅適用於 64 位 Windows。

規格需求

需求
目標平台 Windows
標頭 stralign.h
DLL Kernel32.dll