IBackgroundCopyJob1::AddFiles method (qmgr.h)
[IBackgroundCopyJob1 is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the BITS interfaces.]
Use the AddFiles method to add one or more files to download to the job.
Syntax
HRESULT AddFiles(
[in] ULONG cFileCount,
[in] FILESETINFO **ppFileSet
);
Parameters
[in] cFileCount
Number of files in pFileInfo to add to the job.
[in] ppFileSet
Array of FILESETINFO structures that contain the remote and local names of the files to download.
Return value
This method returns the following HRESULT values, as well as others.
Return code | Description |
---|---|
|
Files were successfully added to the job. |
|
Local or remote file name is invalid. For example, the remote file name specifies an unsupported protocol. |
|
User does not have permission to write to the specified directory on the client. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP |
Minimum supported server | Windows Server 2003 |
Target Platform | Windows |
Header | qmgr.h |
DLL | QmgrPrxy.dll |