Fonction WindowsGetStringLen (winstring.h)
Obtient la longueur, en caractères Unicode, de la chaîne spécifiée.
Syntaxe
UINT32 WindowsGetStringLen(
HSTRING string
);
Paramètres
string
Type : [in] HSTRING
Chaîne dont la longueur est à trouver.
Valeur retournée
Type : UINT32
Nombre de caractères Unicode dans la chaîne, y compris les caractères null incorporés, mais à l’exclusion de la valeur Null de fin ; ou 0 si la chaîne a la valeur NULL.
Configuration requise
Client minimal pris en charge | Windows 8 [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Windows Server 2012 [applications de bureau | Applications UWP] |
Plateforme cible | Windows |
En-tête | winstring.h |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour