def GetConsoleOriginalTitle() -> str:
if IsNT6orHigher:<EOL><INDENT>arrayType = ctypes.c_wchar * MAX_PATH<EOL>values = arrayType()<EOL>ctypes.windll.kernel32.GetConsoleOriginalTitleW(values, MAX_PATH)<EOL>return values.value<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>
GetConsoleOriginalTitle from Win32.
Return str.
Only available on Windows Vista or higher.