Share via


UIntToUInt8, fonction (intsafe.h)

Convertit une valeur de type UINT en valeur de type UINT8.

Syntaxe

HRESULT UIntToUInt8(
  [in]  UINT  uOperand,
  [out] UINT8 *pui8Result
);

Paramètres

[in] uOperand

La valeur à convertir.

[out] pui8Result

Valeur convertie.

Valeur retournée

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

Notes

UIntToByte est un alias pour cette fonction.

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