win32process.AttachThreadInput

AttachThreadInput(idAttach, idAttachTo, Attach)

Attaches or detaches the input of two threads

Parameters

idAttach : int

The id of a thread

idAttachTo : int

The id of the thread to which it will be attached

Attach : bool

Indicates whether thread should be attached or detached