WdsCliFreeStringArray function (wdsclientapi.h)

This function can be used to free the array of string values that gets allocated by the WdsCliObtainDriverPackages function.

Syntax

HRESULT WDSCLIAPI WdsCliFreeStringArray(
  [in, out, optional] PWSTR *ppwszArray,
  [in]                ULONG ulCount
);

Parameters

[in, out, optional] ppwszArray

Pointer to the array of string values being freed.

[in] ulCount

Number of strings in the array that is pointed to by ppwszArray.

Return value

If the function succeeds, the return is S_OK.

Requirements

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