共用方式為


IUpdate::DownloadContents property

Gets file information about the download contents of the update.

This property is read-only.

Syntax

HRESULT get_DownloadContents(
  [out] IUpdateDownloadContentCollection **retval
);

Property value

A pointer to an IUpdateDownloadContentCollection interface that represents the download contents of the update.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Product

Use Windows Update or a Windows Update Services Server to retrieve the update on Windows XP.

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IUpdate