Méthode ITransferSource ::ApplyPropertiesToItem (shobjidl_core.h)

Appliquer un ensemble de modifications de propriété à un élément.

Syntaxe

HRESULT ApplyPropertiesToItem(
  [in]  IShellItem *psiSource,
  [out] IShellItem **ppsiNew
);

Paramètres

[in] psiSource

Type : IShellItem*

Pointeur vers l’élément IShellItem à modifier.

[out] ppsiNew

Type : IShellItem**

Lorsque cette méthode retourne, contient l’adresse d’un pointeur vers l’objet IShellItem modifié.

Valeur retournée

Type : HRESULT

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

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)