WdsCliClose function (wdsclientapi.h)

Closes a handle to a WDS session or image, and releases resources.

Syntax

HRESULT WDSCLIAPI WdsCliClose(
  [in] HANDLE Handle
);

Parameters

[in] Handle

A handle to a WDS session or image. This function can close handles opened with the WdsCliCreateSession or WdsCliFindFirstImage functions.

Return value

If the function succeeds, the return is S_OK.

Requirements

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

See also

WdsCliCreateSession

WdsCliFindFirstImage

Windows Deployment Services Client Functions