WdsCliGetImageArchitecture function (wdsclientapi.h)

Returns the processor architecture for the current image.

Syntax

HRESULT WDSCLIAPI WdsCliGetImageArchitecture(
  [in]  HANDLE hIfh,
  [out] PDWORD pdwValue
);

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] pdwValue

Pointer to a value that describes the processor architecture of the current image.

This parameter can have one of the following values.

Value Meaning
PROCESSOR_ARCHITECTURE_AMD64
9
The image is an x64 image (AMD AMD64 or Intel EM64T).
PROCESSOR_ARCHITECTURE_IA64
6
The image is an Itanium-based system image.
PROCESSOR_ARCHITECTURE_INTEL
0
The image is a 32-bit Intel x86 image.

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

WdsCliClose

WdsCliFindFirstImage

WdsCliFindNextImage

Windows Deployment Services Client Functions