Partager via


Fonction IntPtrToLongPtr (intsafe.h)

Convertit une valeur de type INT_PTR en valeur de type LONG_PTR.

Syntaxe

HRESULT IntPtrToLongPtr(
  [in]  INT_PTR  iOperand,
  [out] LONG_PTR *plResult
);

Paramètres

[in] iOperand

La valeur à convertir.

[out] plResult

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