The title bar control window procedure sets the appropriate window parameters in accordance with pwndparams and sets rc to TRUE if the operation is successful, otherwise to FALSE.