Wow64SetThreadDefaultGuestMachine function (wow64apiset.h)

Sets the thread to the given machine architecture.

Syntax

USHORT Wow64SetThreadDefaultGuestMachine(
  USHORT Machine
);

Parameters

Machine

The machine architecture.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 11 version 21H2
Minimum supported server Windows Server 2022
Header wow64apiset.h
Library onecore.lib
DLL api-ms-win-core-wow64-l1-1-1.dll