How can i add window message?

I implemented an example plug-in for this API. You can find it on GitHub