Wow64SetThreadContext function (wow64apiset.h)

Sets the thread context.

Syntax

BOOL Wow64SetThreadContext(
  HANDLE              hThread,
  const WOW64_CONTEXT *lpContext
);

Parameters

hThread

A handle to the thread.

lpContext

The thread context.

Return value

Returns True if the context is set. Otherwise, False.

Requirements

Requirement Value
Minimum supported client Windows 10 version 1903
Minimum supported server Windows Server, version 1903
Header wow64apiset.h
Library Kernel32.lib
DLL Kernel32.dll