一般来说这种Windows API在MSDN上都有比较完整的描述,这里为了巩固记忆,把他记下来
BOOL WINAPI PostMessage(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam)
把消息分发到与创建hwnd窗口相关联的线程的消息队列上,不需要等待线程处理消息,即刻返回
MSDN:
Places (posts) a message in the message queue associated with the thread that created the specified window and
returns without waiting for the thread to process the message.