WdsCliCancelTransfer function (wdsclientapi.h)

Cancels a WDS transfer operation.

Syntax

HRESULT WDSCLIAPI WdsCliCancelTransfer(
  [in] HANDLE hTransfer
);

Parameters

[in] hTransfer

A handle for the WDS transfer operation 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

This function can be called from a callback function.

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