WdsCliGetEnumerationFlags function (wdsclientapi.h)

Returns the image enumeration flag for the current image handle.

Syntax

HRESULT WDSCLIAPI WdsCliGetEnumerationFlags(
  [in]  HANDLE Handle,
  [out] PDWORD pdwFlags
);

Parameters

[in] Handle

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

[out] pdwFlags

A pointer to a value that receives the enumeration flag value.

This parameter can have the following values

Value Meaning
WdsCliFlagEnumFilterVersion
1
The WDS client only shows images that have the same version as the boot image.

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 (include WdsClientAPI.h)
Library WdsClientAPI.lib
DLL WdsClientAPI.dll

See also

WdsCliFindFirstImage

Windows Deployment Services Client Functions