Sorry, but i cant understand how to pass the window name and its new size to this API.