---
name: "AttachThreadInput"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.981018-1.1"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/AttachThreadInput"
---

# AttachThreadInput(3w)

AttachThreadInput \[KERNEL32.8\] Attaches input of 1 thread to other

## NAME

AttachThreadInput - AttachThreadInput \[KERNEL32.8\]  Attaches input of 1 thread to other

## SYNOPSIS

**BOOL32 AttachThreadInput**\
 **(**\
\
 	**DWORD idAttach,**\
\
 	**DWORD idAttachTo,**\
\
 	**BOOL32 fAttach**\
 **);**

## PARAMETERS

- **DWORD idAttach**

  \[In\] Thread to attach.

- **DWORD idAttachTo**

  \[In\] Thread to attach to.

- **BOOL32 fAttach**

  \[In\] Attach or detach.

## DESCRIPTION

Attaches the input processing mechanism of one thread to that of another thread.

## RETURNS

- **Success**

  TRUE.

- **Failure**

  FALSE.

## SEE ALSO

[CreateThread(3w)](/CreateThread/3w.md), [ExitThread(3w)](/ExitThread/3w.md), [GetCurrentThread(3w)](/GetCurrentThread/3w.md), [GetCurrentThreadId(3w)](/GetCurrentThreadId/3w.md), [GetLastError(3w)](/GetLastError/3w.md), [SetLastError(3w)](/SetLastError/3w.md), [SetLastErrorEx(3w)](/SetLastErrorEx/3w.md), [TlsAlloc(3w)](/TlsAlloc/3w.md), [TlsFree(3w)](/TlsFree/3w.md), [TlsGetValue(3w)](/TlsGetValue/3w.md), [TlsSetValue(3w)](/TlsSetValue/3w.md), [GetThreadContext(3w)](/GetThreadContext/3w.md), [GetThreadPriority(3w)](/GetThreadPriority/3w.md), [SetThreadPriority(3w)](/SetThreadPriority/3w.md), [TerminateThread(3w)](/TerminateThread/3w.md), [GetExitCodeThread(3w)](/GetExitCodeThread/3w.md), [ResumeThread(3w)](/ResumeThread/3w.md), [SuspendThread(3w)](/SuspendThread/3w.md), [GetThreadTimes(3w)](/GetThreadTimes/3w.md)
