IDODownloadInternal::SetPropertyEx method
Important
The IDODownloadInternal interface is deprecated. Instead, use the IDODownload interface.
Sets an extended download property. The method accepts a pointer to a VARIANT that contains a specific property value to apply to the download.
Syntax
HRESULT SetPropertyEx(
DODownloadPropertyEx propId,
VARIANT* propVal
);
Parameters
propId
The required property ID to set (of type DODownloadPropertyEx).
propVal
The property value to set, stored in a VARIANT.
Return Value
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Return value | Description |
---|---|
DO_E_UNKNOWN_PROPERTY_ID | propId is unknown. |
DO_E_INVALID_STATE | The download is not currently in a state that allows setting properties. |
Requirements
Minimum supported client | Windows 10, version 1809 [Win32 applications only] |
Minimum supported server | Windows Server, version 1809 [Win32 applications only] |
Header | DODownloadInternal.h |