def win_get_title(title, buf_size=<NUM_LIT>, **kwargs):
text = kwargs.get("<STR_LIT:text>", "<STR_LIT>")<EOL>ret_text = create_unicode_buffer(buf_size)<EOL>AUTO_IT.AU3_WinGetTitle(LPCWSTR(title), LPCWSTR(text), ret_text,<EOL>INT(buf_size))<EOL>val = ret_text.value.rstrip()<EOL>return val<EOL>
:param title:
:param text:
:return: