Introduction - If you have any usage issues, please Google them yourself
Hook (Hook), is a platform Windows message handling mechanism, the application can be set to monitor sub-processes of a message in the above specified window, and the window can be monitored by other processes created. Attached code.