Condividi tramite


Metodo IPortableDeviceValues::GetUnsignedIntegerValue (portabledevicetypes.h)

Recupera un valore ULONG (tipo VT_UI4) specificato da una chiave.

Sintassi

HRESULT GetUnsignedIntegerValue(
  [in]  REFPROPERTYKEY key,
  [out] ULONG          *pValue
);

Parametri

[in] key

Chiave REFPROPERTYKEY che specifica l'elemento da recuperare.

[out] pValue

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

Commenti

Nessuno.

Requisiti

Requisito Valore
Piattaforma di destinazione Windows
Intestazione portabledevicetypes.h

Vedi anche

Interfaccia IPortableDeviceValues

IPortableDeviceValues::SetUnsignedIntegerValue