Méthode IPortableDeviceValues::SetUnsignedLargeIntegerValue

La méthode SetUnsignedLargeIntegerValue ajoute une nouvelle valeur ULONGLONG (type VT_UI8) ou remplace une valeur existante.

Syntaxe

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

Paramètres

clé [in]

REFPROPERTYKEY qui spécifie l’élément à créer ou à remplacer.

Valeur [in]

ULONGLONG qui spécifie la nouvelle valeur.

Valeur retournée

Cette méthode retourne un code HRESULT. Les valeurs possibles sont notamment celles figurant dans le tableau suivant.

Code de retour Description
S_OK
S_OK

Spécifications

Condition requise Valeur
En-tête
PortableDeviceTypes.h
Bibliothèque
PortableDeviceGUIDs.lib

Voir aussi

Ajout d’une ressource à un objet

IPortableDeviceValues, interface

IPortableDeviceValues::GetUnsignedLargeIntegerValue