WindowsGetStringLen function (winstring.h)
Gets the length, in Unicode characters, of the specified string.
Syntax
UINT32 WindowsGetStringLen(
HSTRING string
);
Parameters
string
Type: [in] HSTRING
The string whose length is to be found.
Return value
Type: UINT32
The number of Unicode characters in string, including embedded null characters, but excluding the terminating null; or 0 if string is NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | winstring.h |
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla