win A pointer to the window. y A window coordinate. x A window coordinate. str A pointer to the character string.