Méthode IShellItem2 ::GetPropertyStoreForKeys (shobjidl_core.h)
Obtient l’objet de magasin de propriétés pour les clés de propriété spécifiées.
Syntaxe
HRESULT GetPropertyStoreForKeys(
[in] const PROPERTYKEY *rgKeys,
[in] UINT cKeys,
[in] GETPROPERTYSTOREFLAGS flags,
[in] REFIID riid,
[out] void **ppv
);
Paramètres
[in] rgKeys
Type : const PROPERTYKEY*
Pointeur vers un tableau de structures PROPERTYKEY . Chaque structure contient un identificateur unique pour chaque propriété utilisée lors de la création du magasin de propriétés.
[in] cKeys
Type : UINT
Nombre de structures PROPERTYKEY dans le tableau pointé par rgKeys.
[in] flags
Type : GETPROPERTYSTOREFLAGS
Constantes GETPROPERTYSTOREFLAGS qui modifient l’objet de magasin de propriétés.
[in] riid
Type : REFIID
Référence à l’IID de l’objet à récupérer.
[out] ppv
Type : void**
Lorsque cette méthode est retournée, contient l’adresse d’un pointeur d’interface IPropertyStore .
Valeur retournée
Type : HRESULT
Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.
Remarques
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows Vista [applications de bureau uniquement] |
Serveur minimal pris en charge | Windows Server 2008 [applications de bureau uniquement] |
Plateforme cible | Windows |
En-tête | shobjidl_core.h (incluez Shobjidl.h) |