---
name: "GetThreadContext"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetThreadContext"
---

# GetThreadContext(3w)

## NAME

**GetThreadContext** (KERNEL32.@)

## SYNOPSIS

BOOL GetThreadContext\
  (\
   HANDLE   *handle*,\
   CONTEXT\* *context*\
  )

## PARAMS

*handle* **\[In\]**  Handle to thread with *context*.

**\[Out\]**  Address of *context* structure.

## DESCRIPTION

GetThreadContext \[**KERNEL32**.@\] Retrieves *context* of thread.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/thread.c"**.

Debug channel **"thread"**.
