IWiaTransfer::Download method

Initiates a data download to the caller.

Syntax

HRESULT Download(
  [in] LONG                 lFlags,
  [in] IWiaTransferCallback *pIWiaTransferCallback
);

Parameters

lFlags [in]

Type: LONG

Currently unused. Should be set to zero.

pIWiaTransferCallback [in]

Type: IWiaTransferCallback*

Specifies a pointer to the caller's IWiaTransferCallback interface.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If a folder is downloaded, then all the child items of that folder are also transferred. Each item is transferred in a separate stream.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wia.h
IDL
Wia.idl
Library
Wiaguid.lib