Wow64GetThreadContext function (wow64apiset.h)

Retrieves the thread context.

Syntax

BOOL Wow64GetThreadContext(
  HANDLE         hThread,
  PWOW64_CONTEXT lpContext
);

Parameters

hThread

A handle to the thread.

lpContext

The thread context.

Return value

Returns True if the context is retrieved. 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