UIntPtrToUInt16, fonction (intsafe.h)
Convertit une valeur de type UINT_PTR en valeur de type UINT16.
Syntaxe
HRESULT UIntPtrToUInt16(
[in] UINT_PTR uOperand,
[out] UINT16 *pu16Result
);
Paramètres
[in] uOperand
La valeur à convertir.
[out] pu16Result
Valeur convertie.
Valeur retournée
Si cette fonction réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.
Spécifications
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 7 [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Windows Server 2008 R2 [applications de bureau | Applications UWP] |
Plateforme cible | Windows |
En-tête | intsafe.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