Fonction PropVariantCopy (propidl.h)
Crée une copie d’une structure PROPVARIANT .
Syntaxe
HRESULT PropVariantCopy(
[out] PROPVARIANT *pvarDest,
[in] const PROPVARIANT *pvarSrc
);
Paramètres
[out] pvarDest
Type : PROPVARIANT*
Pointeur vers la structure PROPVARIANT de destination qui reçoit la copie.
[in] pvarSrc
Type : const PROPVARIANT*
Pointeur vers la structure PROPVARIANT source.
Valeur retournée
Type : HRESULT
Si cette fonction 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 XP avec SP2, Windows Vista [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Windows Server 2003 avec SP1 [applications de bureau | Applications UWP] |
Plateforme cible | Windows |
En-tête | propidl.h |
Bibliothèque | Ole32.lib |
DLL | Ole32.dll (version 6.0 ou ultérieure) |
Composant redistribuable | Windows Desktop Search (WDS) 3.0 |