WdsCliWaitForTransfer function (wdsclientapi.h)

Waits for an image or file transfer to complete.

Syntax

HRESULT WDSCLIAPI WdsCliWaitForTransfer(
  [in] HANDLE hTransfer
);

Parameters

[in] hTransfer

A WDS transfer handle for the transfer being canceled. This can be the handle returned by the WdsCliTransferImage or WdsCliTransferFile functions.

Return value

If the function succeeds, the return is S_OK.

Remarks

Calling this function from a callback function is not recommended.

Requirements

Requirement Value
Minimum supported client Windows Vista with SP1 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wdsclientapi.h
Library WdsClientAPI.lib
DLL WdsClientAPI.dll