Metodo IPortableDeviceValues::SetUnsignedLargeIntegerValue

Il metodo SetUnsignedLargeIntegerValue aggiunge un nuovo valore ULONGLONG (tipo VT_UI8) o sovrascrive uno esistente.

Sintassi

HRESULT SetUnsignedLargeIntegerValue(
  [in]       REFPROPERTYKEY key,
  [in] const ULONGLONG      Value
);

Parametri

chiave [in]

REFPROPERTYKEY che specifica l'elemento da creare o sovrascrivere.

Valore [in]

ULONGLONG che specifica il nuovo valore.

Valore restituito

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

Codice restituito Descrizione
S_OK
Il metodo è riuscito.

Requisiti

Requisito Valore
Intestazione
PortableDeviceTypes.h
Libreria
PortableDeviceGUIDs.lib

Vedi anche

Aggiunta di una risorsa a un oggetto

Interfaccia IPortableDeviceValues

IPortableDeviceValues::GetUnsignedLargeIntegerValue