Searched refs:thread_desktop (Results 1 – 2 of 2) sorted by relevance
107 HDESK thread_desktop = ::GetThreadDesktop(::GetCurrentThreadId()); in TEST() local109 ASSERT_NE(thread_desktop, nullptr); in TEST()110 std::wstring desktop_name = GetWindowObjectName(thread_desktop); in TEST()
744 HDESK thread_desktop = ::GetThreadDesktop(::GetCurrentThreadId()); in IsRunningUnderDesktopName() local745 if (!thread_desktop) in IsRunningUnderDesktopName()748 std::wstring current_desktop_name = GetWindowObjectName(thread_desktop); in IsRunningUnderDesktopName()