#include "precomp.h"
#include "mediabtns.h"
#include <commoncontrols.h>
#include <regstr.h>
#include <shlwapi_undoc.h>
#include <psapi.h>
Go to the source code of this file.
|
| static BOOL | SHELL_GetMonitorRect (_In_opt_ HMONITOR hMonitor, _Out_opt_ PRECT prcDest, _In_ BOOL bWorkAreaOnly) |
| |
| static BOOL | SHELL_IsParentOwnerOrSelf (_In_ HWND hwndTarget, _In_ HWND hWnd) |
| |
| static BOOL | SHELL_IsRudeWindowActive (_In_ HWND hWnd) |
| |
| static BOOL | SHELL_IsRudeWindow (_In_opt_ HMONITOR hMonitor, _In_ HWND hWnd, _In_ BOOL bDontCheckActive) |
| |
| static BOOL | SHELL_GetImageFileNameByWindow (_In_ HWND hWnd, _Out_cap_(cchPath) LPWSTR pszPath, _In_ DWORD cchPath) |
| |
| HRESULT | CTaskSwitchWnd_CreateInstance (IN HWND hWndParent, IN OUT ITrayWindow *Tray, REFIID riid, void **ppv) |
| |
◆ DEBUG_SHELL_HOOK
◆ DUMP_TASKS
◆ GET_ICON
◆ MAX_TASKS_COUNT
| #define MAX_TASKS_COUNT (0x7FFF) |
◆ TASK_ITEM_ARRAY_ALLOC
| #define TASK_ITEM_ARRAY_ALLOC 64 |
◆ TIMER_ID_VALIDATE_RUDE_APP
| #define TIMER_ID_VALIDATE_RUDE_APP 5 |
◆ VALIDATE_RUDE_INTERVAL
| #define VALIDATE_RUDE_INTERVAL 1000 |
◆ VALIDATE_RUDE_MAX_COUNT
| #define VALIDATE_RUDE_MAX_COUNT 5 |
◆ PTASK_GROUP
◆ PTASK_ITEM
◆ TASK_GROUP
◆ TASK_ITEM
◆ CTaskSwitchWnd_CreateInstance()
◆ SHELL_GetImageFileNameByWindow()
Definition at line 106 of file taskswnd.cpp.
107{
113
119 return bSuccess;
120}
#define GetModuleFileNameExW(w, x, y, z)
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
#define PROCESS_QUERY_INFORMATION
_In_ BOOL _In_ HANDLE hProcess
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)
Referenced by CTaskSwitchWnd::OnActivateTaskIndex().
◆ SHELL_GetMonitorRect()
Definition at line 32 of file taskswnd.cpp.
36{
39 {
40 if (!prcDest)
42
43 if (bWorkAreaOnly)
45 else
47
49 }
50
51 if (prcDest)
54}
BOOL WINAPI SystemParametersInfoW(_In_ UINT uiAction, _In_ UINT uiParam, _Inout_opt_ PVOID pvParam, _In_ UINT fWinIni)
BOOL WINAPI GetMonitorInfoW(_In_ HMONITOR, _Inout_ LPMONITORINFO)
int WINAPI GetSystemMetrics(_In_ int)
Referenced by CTaskSwitchWnd::FullScreenEnumProc(), and SHELL_IsRudeWindow().
◆ SHELL_IsParentOwnerOrSelf()
◆ SHELL_IsRudeWindow()
Definition at line 77 of file taskswnd.cpp.
78{
81
84
86
89 if ((
style & CHECK_STYLE) == CHECK_STYLE)
90 {
93 }
94 else
95 {
97 }
98
101
103}
#define GetWindowLongPtrW
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
HWND WINAPI GetDesktopWindow(void)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI UnionRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
BOOL WINAPI IsWindowVisible(_In_ HWND)
static BOOL SHELL_IsRudeWindowActive(_In_ HWND hWnd)
static BOOL SHELL_GetMonitorRect(_In_opt_ HMONITOR hMonitor, _Out_opt_ PRECT prcDest, _In_ BOOL bWorkAreaOnly)
Referenced by CTaskSwitchWnd::IsRudeEnumProc().
◆ SHELL_IsRudeWindowActive()
◆ szRunningApps
| const WCHAR szRunningApps[] = L"Running Applications" |
◆ szTaskSwitchWndClass
| const WCHAR szTaskSwitchWndClass[] = L"MSTaskSwWClass" |