Partager via


Fonction LongPtrSub (intsafe.h)

Soustrait une valeur de type LONG_PTR d’une autre.

Syntaxe

HRESULT LongPtrSub(
  [in]  LONG_PTR lMinuend,
  [in]  LONG_PTR lSubtrahend,
  [out] LONG_PTR *plResult
);

Paramètres

[in] lMinuend

Première valeur.

[in] lSubtrahend

Valeur à soustraire.

[out] plResult

Résultat.

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