Méthode IShellItem2 ::GetPropertyStore (shobjidl_core.h)
Obtient un objet de magasin de propriétés pour les indicateurs de magasin de propriétés spécifiés.
HRESULT GetPropertyStore(
[in] GETPROPERTYSTOREFLAGS flags,
[in] REFIID riid,
[out] void **ppv
);
[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 retourne, contient l’adresse d’un pointeur d’interface IPropertyStore .
Type : HRESULT
Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.
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 (inclure Shobjidl.h) |