WdsCliGetImageArchitecture

WdsCliGetImageArchitecture function

Returns the processor architecture for the current image.

Syntax


HRESULT WDSCLIAPI WdsCliGetImageArchitecture(
  _In_  HANDLE hIfh,
  _Out_ PDWORD pdwValue
);

Parameters

hIfh [in]

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

pdwValue [out]

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

This parameter can have one of the following values.

ValueMeaning
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WdsClientAPI.h

Library

WdsClientAPI.lib

DLL

WdsClientAPI.dll

See also

Windows Deployment Services Client Functions
WdsCliClose
WdsCliFindFirstImage
WdsCliFindNextImage

 

 

Community Additions

ADD
Show:
© 2016 Microsoft