Home
last modified time | relevance | path

Searched refs:thread_desktop (Results 1 – 2 of 2) sorted by relevance

/external/cronet/base/win/
Dwin_util_unittest.cc107 HDESK thread_desktop = ::GetThreadDesktop(::GetCurrentThreadId()); in TEST() local
109 ASSERT_NE(thread_desktop, nullptr); in TEST()
110 std::wstring desktop_name = GetWindowObjectName(thread_desktop); in TEST()
Dwin_util.cc744 HDESK thread_desktop = ::GetThreadDesktop(::GetCurrentThreadId()); in IsRunningUnderDesktopName() local
745 if (!thread_desktop) in IsRunningUnderDesktopName()
748 std::wstring current_desktop_name = GetWindowObjectName(thread_desktop); in IsRunningUnderDesktopName()