WdsCliGetImageLanguages function (wdsclientapi.h)

Returns an array of languages supported by the current image.

Syntax

HRESULT WDSCLIAPI WdsCliGetImageLanguages(
  [in]  HANDLE hIfh,
  [out] PTSTR  **pppszValues,
  [out] PDWORD pdwNumValues
);

Parameters

[in] hIfh

A find handle returned by the WdsCliFindFirstImage function. The image referenced by the find handle can be advanced using the WdsCliFindNextImage function.

[out] pppszValues

A pointer to a pointer to an array of null-terminated string values. Each element in the array contains a language of the current image.

[out] pdwNumValues

Pointer to a value that contains the number of languages in the pppszValues parameter.

Return value

If the function succeeds, the return is S_OK.

Remarks

This value is valid until the WdsCliFindNextImage or WdsCliClose function is used to change or close the current handle.

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

Windows Deployment Services Client Functions