def get_windows_dir():
    """
    Return the Windows directory e.g. C:\\Windows.
    """
    from ... import compat
    windir = compat.win32api.GetWindowsDirectory()
    if not windir:
        raise SystemExit('Error: Can not determine your Windows directory')
    return windir
