Método IPortableDeviceValues::SetSignedLargeIntegerValue (portabledevicetypes.h)

Adiciona um novo valor LONGLONG (tipo VT_I8) ou substitui um existente.

Sintaxe

HRESULT SetSignedLargeIntegerValue(
  [in] REFPROPERTYKEY key,
  [in] const LONGLONG Value
);

Parâmetros

[in] key

UMA REFPROPERTYKEY que especifica o item a ser criado ou substituído.

[in] Value

Um LONGLONG que especifica o novo valor.

Retornar valor

O método retorna um HRESULT. Os possíveis valores incluem, mas sem limitação, aqueles na tabela a seguir.

Código de retorno Descrição
S_OK
O método foi bem-sucedido.

Comentários

Se um valor existente tiver a mesma chave especificada pelo parâmetro key , ele substituirá o valor existente sem nenhum aviso.

Requisitos

Requisito Valor
Plataforma de Destino Windows
Cabeçalho portabledevicetypes.h

Confira também

IPortableDeviceValues Interface

IPortableDeviceValues::GetSignedLargeIntegerValue