Share via


Metodo IPortableDeviceValues::SetSignedLargeIntegerValue (portabledevicetypes.h)

Aggiunge un nuovo valore LONGLONG (tipo VT_I8) o ne sovrascrive uno esistente.

Sintassi

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

Parametri

[in] key

REFPROPERTYKEY che specifica l'elemento da creare o sovrascrivere.

[in] Value

LONGLONG che specifica il nuovo valore.

Valore restituito

Il metodo restituisce un valore HRESULT. I valori possibili includono, ma non sono limitati a, quelli indicati nella tabella seguente.

Codice restituito Descrizione
S_OK
Il metodo è riuscito.

Commenti

Se un valore esistente ha la stessa chiave specificata dal parametro chiave , sovrascrive il valore esistente senza alcun avviso.

Requisiti

Requisito Valore
Piattaforma di destinazione Windows
Intestazione portabledevicetypes.h

Vedi anche

Interfaccia IPortableDeviceValues

IPortableDeviceValues::GetSignedLargeIntegerValue