WdsCliGetImageHandleFromTransferHandle function

Returns an image handle from a completed transfer handle. The handle is to the local copy of the image that's been transferred from the server to the client.

Syntax


 WDSCLIAPI WdsCliGetImageHandleFromTransferHandle(
        HANDLE  hTransfer,
  _Out_ PHANDLE phImageHandle
);

Parameters

hTransfer

A WDS transfer handle that has completed the transfer. This can be the handle returned by the WdsCliTransferImage or WdsCliTransferFile functions.

phImageHandle [out]

A pointer to a location that contains an image handle.

Return value

If the function succeeds, the return is S_OK.

Remarks

If the transfer is not yet complete when this function is called, it will return an error code.

Use the WdsCliClose function to close the image handle returned by this function.

Requirements

Minimum supported client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WdsClientAPI.h

Library

WdsClientAPI.lib

DLL

WdsClientAPI.dll

 

 

Community Additions

ADD
Show: