IWiaTransfer::Upload method

Initiates a data upload of a single item from the caller.

Syntax

HRESULT Upload(
  [in] LONG                 lFlags,
  [in] IStream              *pSource,
  [in] IWiaTransferCallback *pIWiaTransferCallback
);

Parameters

lFlags [in]

Type: LONG

Currently unused. Should be set to zero.

pSource [in]

Type: IStream*

Specifies a pointer to the IStream data.

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.

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