IDODownloadInternal :: GetPropertyEx, méthode

Important

L’interface IDODownloadInternal est déconseillée. Utilisez plutôt l’interface IDODownload .

Récupère un pointeur vers un Variant qui contient une valeur de propriété de téléchargement étendue spécifique.

Syntaxe

HRESULT GetPropertyEx(
  DODownloadPropertyEx propId, 
  VARIANT* propVal
);

Paramètres

propId

ID de propriété requis pour la récupération (de type DODownloadPropertyEx).

propVal

Valeur de la propriété résultante, stockée dans un Variant.

Valeur renvoyée

Si la fonction est réussie, elle retourne S_OK. Sinon, elle retourne un code d’erreurHRESULT.

Valeur retournée Description
DO_E_UNKNOWN_PROPERTY_ID propid est inconnu.
DO_E_WRITE_ONLY_PROPERTY La propriété est en écriture seule et ne peut pas être lue.
E_NOT_SET Aucune propriété de ce type n’a été définie via SetPropertyEx.

Spécifications

   
Client minimal pris en charge Windows 10, version 1809 les [ applications Win32 uniquement]
Serveur minimal pris en charge Windows Server, version 1809 [ Applications Win32 uniquement]
En-tête DODownloadInternal. h