Hello everybody

I am currently developing a software for application restriction. I'm using some API to enumerate, find and close any restricted open window. My problem is that, im using the SendMessage API to close a window, but Microsoft Internet Explorer, if added to the restricted app list, will not close after finding the IE window.

Are there any API to close a particular IE window?

Thank you in advance.