Condividi tramite


Funzione UIntPtrToUShort (intsafe.h)

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

Sintassi

HRESULT UIntPtrToUShort(
  [in]  UINT_PTR uOperand,
  [out] USHORT   *pusResult
);

Parametri

[in] uOperand

Valore da convertire.

[out] pusResult

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