Condividi tramite


Funzione UIntPtrToUInt16 (intsafe.h)

Converte un valore di tipo UINT_PTR in un valore di tipo UINT16.

Sintassi

HRESULT UIntPtrToUInt16(
  [in]  UINT_PTR uOperand,
  [out] UINT16   *pu16Result
);

Parametri

[in] uOperand

Valore da convertire.

[out] pu16Result

Valore convertito.

Valore restituito

Se questa funzione ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Requisiti

Requisito Valore
Client minimo supportato Windows 7 [app desktop | App UWP]
Server minimo supportato Windows Server 2008 R2 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione intsafe.h