win32gui.PostThreadMessage

PostThreadMessage(threadId, message, wparam, lparam)

Parameters

threadId : int

The ID of the thread to post the message to.

message : int

The ID of the message to post

wparam : int

An integer whose value depends on the message

lparam : int

An integer whose value depends on the message