diff options
Diffstat (limited to 'src/utilcode/winfix.cpp')
-rw-r--r-- | src/utilcode/winfix.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/utilcode/winfix.cpp b/src/utilcode/winfix.cpp index 3a044865ec..d6bd59cac8 100644 --- a/src/utilcode/winfix.cpp +++ b/src/utilcode/winfix.cpp @@ -231,21 +231,6 @@ BOOL RunningInteractive() if (fInteractive != -1) return fInteractive != 0; -#if !defined(FEATURE_CORESYSTEM) - HWINSTA hwinsta = NULL; - - if ((hwinsta = GetProcessWindowStation() ) != NULL) - { - DWORD lengthNeeded; - USEROBJECTFLAGS flags; - - if (GetUserObjectInformationW (hwinsta, UOI_FLAGS, &flags, sizeof(flags), &lengthNeeded)) - { - if ((flags.dwFlags & WSF_VISIBLE) == 0) - fInteractive = 0; - } - } -#endif // !FEATURE_CORESYSTEM if (fInteractive != 0) fInteractive = 1; |