Partilhar via


IUIResourceMgr::GetActiveDownloads Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The IUIResourceMgr::GetActiveDownloads method, in Configuration Manager, returns a list of all the programs with content that is in the process of being downloaded.

[IDL]
HRESULT GetActiveDownloads(
      IDownloads** ppDownloads
);

Parameters

  • ppDownloads
    Data type: IDownloads

    Qualifiers: [out, retval]

    Pointer to an IDownloads object that contains all downloads currently in progress.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Remarks

This method only returns active downloads that have been requested by the user who is currently logged on to the client. The method fails if there are no downloads currently in progress.

Requirements

UIResource.dll.

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

UIResourceMgr Class
Software Distribution Control Panel Automation