Share via


Método IPortableDeviceValues::SetUnsignedLargeIntegerValue

El método SetUnsignedLargeIntegerValue agrega un nuevo valor ULONGLONG (tipo VT_UI8) o sobrescribe uno existente.

Sintaxis

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

Parámetros

key [in]

REFPROPERTYKEY que especifica el elemento que se va a crear o sobrescribir.

Valor [in]

ULONGLONG que especifica el nuevo valor.

Valor devuelto

El método devuelve un valor HRESULT. Entre los valores posibles se incluyen los que se indican en la tabla siguiente, entre otros.

Código devuelto Descripción
S_OK
El método se ha llevado a cabo de forma correcta.

Requisitos

Requisito Value
Encabezado
PortableDeviceTypes.h
Biblioteca
PortableDeviceGUIDs.lib

Consulte también

Agregar un recurso a un objeto

IPortableDeviceValues (Interfaz)

IPortableDeviceValues::GetUnsignedLargeIntegerValue