Função UIntPtrToUInt16 (intsafe.h)

Converte um valor do tipo UINT_PTR em um valor do tipo UINT16.

Sintaxe

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

Parâmetros

[in] uOperand

O valor a ser convertido.

[out] pu16Result

O valor convertido.

Retornar valor

Se essa função for bem-sucedida, ela retornará S_OK. Caso contrário, ele retornará um código de erro HRESULT.

Requisitos

Requisito Valor
Cliente mínimo com suporte Windows 7 [aplicativos da área de trabalho | Aplicativos UWP]
Servidor mínimo com suporte Windows Server 2008 R2 [aplicativos da área de trabalho | Aplicativos UWP]
Plataforma de Destino Windows
Cabeçalho intsafe.h