206 cx = rc.
left + nXDifference;
207 cy = rc.
top + nYDifference;
213 cx = rc.
left + nXDifference;
214 cy = rc.
top + nYDifference;
220 cx = rc.
left + nXDifference;
221 cy = rc.
top + nYDifference;
342 bItemRemoved =
FALSE;
370 if ((
wcslen(szText) <= 0) ||
381 #define GET_ICON(type) \ 382 SendMessageTimeoutW(hWnd, WM_GETICON, (type), 0, SMTO_ABORTIFHUNG, 100, (PDWORD_PTR)&hIcon) 390 if (!
hIcon && bAlive)
440 bAlreadyInList =
TRUE;
451 (pAPLI->
bHung != bHung))
455 pAPLI->
bHung = bHung;
475 pAPLI->
bHung = bHung;
579 switch (pnmh->
code) {
588 if (pnmdi->item.iSubItem == 0)
590 wcsncpy(pnmdi->item.pszText, pAPLI->
szTitle, pnmdi->item.cchTextMax);
594 else if (pnmdi->item.iSubItem == 1)
604 wcsncpy(pnmdi->item.pszText, szMsg, pnmdi->item.cchTextMax);
764 hWndArray[nWndCount] = pAPLI->
hWnd;
836 hWndArray[nWndCount] = pAPLI->
hWnd;
void ApplicationPage_OnWindowsCascade(void)
INT_PTR CALLBACK ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
#define ListView_EnsureVisible(hwndLV, i, fPartialOK)
INT WINAPI ImageList_ReplaceIcon(HIMAGELIST himl, INT nIndex, HICON hIcon)
#define ListView_GetNextItem(hwnd, i, flags)
void AppPageCleanup(void)
WORD WINAPI TileWindows(_In_opt_ HWND hwndParent, _In_ UINT wHow, _In_opt_ CONST RECT *lpRect, _In_ UINT cKids, _In_reads_opt_(cKids) const HWND FAR *lpKids)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
#define ListView_SetItem(hwnd, pitem)
BOOL WINAPI IsWindow(_In_opt_ HWND)
BOOL WINAPI CheckMenuRadioItem(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT, _In_ UINT)
#define ListView_GetHeader(hwnd)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
static INT GetSystemColorDepth(VOID)
static HANDLE hApplicationThread
int CALLBACK ApplicationPageCompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
#define ID_WINDOWS_MAXIMIZE
#define TabCtrl_GetCurSel(hwnd)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
#define GetWindowLongPtrW
#define ListView_InsertItem(hwnd, pitem)
DWORD EndLocalThread(HANDLE *hThread, DWORD dwThread)
BOOL WINAPI GetCursorPos(_Out_ LPPOINT)
HWND hApplicationPageListCtrl
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
void ApplicationPage_OnWindowsMinimize(void)
#define ID_WINDOWS_TILEVERTICALLY
struct tagNMHDR * LPNMHDR
#define ENUM_CURRENT_SETTINGS
BOOL bApplicationPageSelectionMade
HWND hApplicationPageNewTaskButton
static DWORD dwApplicationThread
void ApplicationPageShowContextMenu1(void)
#define ListView_InsertColumn(hwnd, iCol, pcol)
BOOL WINAPI ShowWindowAsync(_In_ HWND, _In_ int)
BOOL WINAPI EnableMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
HIMAGELIST WINAPI ImageList_Create(INT cx, INT cy, UINT flags, INT cInitial, INT cGrow)
#define ListView_GetSelectedCount(hwndLV)
#define ListView_GetImageList(hwnd, iImageList)
#define ListView_SetItemState(hwndLV, i, data, mask)
BOOL WINAPI IsHungAppWindow(HWND hwnd)
_Out_opt_ int _Out_opt_ int * cy
static int nApplicationPageHeight
HANDLE WINAPI DECLSPEC_HOTPATCH CreateThread(IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
#define ListView_SetImageList(hwnd, himl, iImageList)
void ProcessPage_OnEndProcess(void)
#define ListView_DeleteItem(hwnd, i)
#define ListView_GetItemCount(hwnd)
int ProcGetIndexByProcessId(DWORD dwProcessId)
static BOOL bSortAscending
BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
SHORT WINAPI GetKeyState(_In_ int)
void ApplicationPage_OnWindowsTile(DWORD dwMode)
#define ListView_RedrawItems(hwndLV, iFirst, iLast)
void ApplicationPage_OnView(DWORD dwMode)
void RefreshApplicationPage(void)
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
void ApplicationPage_OnEndTask(void)
#define PostThreadMessage
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
void UpdateApplicationListControlViewSetting(void)
#define IDR_APPLICATION_PAGE_CONTEXT2
INT WINAPI ImageList_AddIcon(HIMAGELIST himl, HICON hIcon)
BOOL WINAPI EnumWindows(_In_ WNDENUMPROC lpEnumFunc, _In_ LPARAM lParam)
TCHAR szTitle[MAX_LOADSTRING]
void ApplicationPage_OnGotoProcess(void)
static int nApplicationPageWidth
BOOL WINAPI ImageList_Remove(HIMAGELIST himl, INT i)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
struct APPLICATION_PAGE_LIST_ITEM * LPAPPLICATION_PAGE_LIST_ITEM
#define IDS_NOT_RESPONDING
HWND hApplicationPageSwitchToButton
void ApplicationPage_OnWindowsBringToFront(void)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI DestroyMenu(_In_ HMENU)
#define ID_WINDOWS_CASCADE
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
HWND WINAPI GetParent(_In_ HWND)
_CRTIMP wchar_t *__cdecl wcsncpy(wchar_t *_Dest, const wchar_t *_Source, size_t _Count)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
void ApplicationPageOnNotify(WPARAM wParam, LPARAM lParam)
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
void ApplicationPage_OnWindowsMaximize(void)
BOOL WINAPI EndTask(HWND hWnd, BOOL fShutDown, BOOL fForce)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
WORD WINAPI CascadeWindows(_In_opt_ HWND hwndParent, _In_ UINT wHow, _In_opt_ CONST RECT *lpRect, _In_ UINT cKids, _In_reads_opt_(cKids) const HWND FAR *lpKids)
#define ID_WINDOWS_MINIMIZE
BOOL WINAPI SetMenuDefaultItem(_In_ HMENU, _In_ UINT, _In_ UINT)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
HWND hApplicationPageEndTaskButton
#define ListView_GetItem(hwnd, pitem)
#define ListView_SortItems(hwndLV, _pfnCompare, _lPrm)
void ApplicationPageShowContextMenu2(void)
HMENU WINAPI LoadMenuW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
BOOL WINAPI IsWindowVisible(_In_ HWND)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
TASKMANAGER_SETTINGS TaskManagerSettings
#define GetProcAddress(x, y)
DWORD WINAPI ApplicationPageRefreshThread(void *lpParameter)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
void ApplicationPageUpdate(void)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define SetWindowLongPtrW
#define MAKEINTRESOURCEW(i)
#define ID_WINDOWS_BRINGTOFRONT
GLenum GLenum GLvoid GLvoid * column
#define LPSTR_TEXTCALLBACK
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
void AddOrUpdateHwnd(HWND hWnd, WCHAR *szTitle, HICON hIcon, BOOL bHung)
#define ID_WINDOWS_TILEHORIZONTALLY
HWND hProcessPageListCtrl
HMENU WINAPI GetMenu(_In_ HWND)
#define ID_APPLICATION_PAGE_SWITCHTO
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
BOOL WINAPI TrackPopupMenu(_In_ HMENU, _In_ UINT, _In_ int, _In_ int, _Reserved_ int, _In_ HWND, _Reserved_ LPCRECT)
VOID WINAPI SwitchToThisWindow(HWND hwnd, BOOL fAltTab)
#define HeapFree(x, y, z)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define ListView_DeleteAllItems(hwnd)
#define IDR_APPLICATION_PAGE_CONTEXT1
#define TabCtrl_SetCurFocus(hwnd, i)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
#define SWP_NOOWNERZORDER
void ApplicationPage_OnSwitchTo(void)