IDownloadStatus::CurrentSize is a read-only property, in Configuration Manager, that indicates the size of downloaded data.

[IDL]
HRESULT CurrentSize([out, retval] long* pVal);

Parameters

pVal


Data type: longQualifiers: [out, retval]Pointer to the size, in kilobytes, of downloaded data.
Note
A negative value (-5) is retrieved while downloading the manifest. While preparing the download, other negative values between -5 and -1 might be retrieved.

Return Values

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

S_OK


The method succeeded.

Remarks

The user must be logged on to the Configuration Manager console to access this property.

Note
A negative value (-5) is returned while downloading the manifest. While preparing the download, other negative values between -5 and -1 might be returned.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.