Metodo IPortableDeviceValues::GetSignedLargeIntegerValue

Il metodo GetSignedLargeIntegerValue recupera un valore LONGLONG (tipo VT_I8) specificato da una chiave.

Sintassi

HRESULT GetSignedLargeIntegerValue(
  [in]  REFPROPERTYKEY key,
  [out] LONGLONG       *pValue
);

Parametri

key [in]

Chiave REFPROPERTYKEY che specifica l'elemento da recuperare.

pValue [out]

Puntatore al valore ULONG recuperato.

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.
DISP_E_TYPEMISMATCH
La proprietà specificata dalla chiave non è un tipo LONGLONG .
HRESULT_FROM_WIN32(ERROR_NOT_FOUND)
La proprietà specificata dalla chiave non è presente nell'insieme.

Requisiti

Requisito Valore
Intestazione
PortableDeviceTypes.h
Libreria
PortableDeviceGUIDs.lib

Vedi anche

Interfaccia IPortableDeviceValues

IPortableDeviceValues::SetSignedLargeIntegerValue