WdsCliGetEnumerationFlags function

Returns the image enumeration flag for the current image handle.

Syntax


HRESULT WDSCLIAPI WdsCliGetEnumerationFlags(
  _In_  HANDLE Handle,
  _Out_ PDWORD pdwFlags
);

Parameters

Handle [in]

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

pdwFlags [out]

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

This parameter can have the following values

ValueMeaning
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WdsClientAPI.h (include WdsClientAPI.h)

Library

WdsClientAPI.lib

DLL

WdsClientAPI.dll

See also

Windows Deployment Services Client Functions
WdsCliFindFirstImage

 

 

Community Additions

ADD
Show: