@api.check(<NUM_LIT:1>, "<STR_LIT>")<EOL>def control_get_focus_by_handle(hwnd, buf_size=<NUM_LIT>):
ctrl_with_focus = ctypes.create_unicode_buffer(buf_size)<EOL>AUTO_IT.AU3_ControlGetFocusByHandle(HWND(hwnd), ctrl_with_focus,<EOL>INT(buf_size))<EOL>return ctrl_with_focus.value.rstrip()<EOL>
:param hwnd:
:param buf_size:
:return: