Partager via


Fonction ShortToUIntPtr (intsafe.h)

Convertit une valeur de type SHORT en valeur de type UINT_PTR.

Syntaxe

HRESULT ShortToUIntPtr(
  [in]  SHORT    sOperand,
  [out] UINT_PTR *puResult
);

Paramètres

[in] sOperand

La valeur à convertir.

[out] puResult

Valeur convertie.

Valeur retournée

Si cette fonction réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

   
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