Partager via


Fonction LongLongToIntPtr (intsafe.h)

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

Syntaxe

HRESULT LongLongToIntPtr(
  [in]  LONGLONG llOperand,
  [out] INT_PTR  *piResult
);

Paramètres

[in] llOperand

La valeur à convertir.

[out] piResult

Valeur convertie.

Valeur retournée

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

Notes

Int64ToPtrdiffT est un alias pour cette fonction.

Int64ToIntPtr est un alias pour cette fonction.

Configuration requise

   
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