Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
25564f9f
Commit
25564f9f
authored
Mar 21, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Make some functions static.
parent
423079eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
applpage.c
programs/taskmgr/applpage.c
+16
-16
No files found.
programs/taskmgr/applpage.c
View file @
25564f9f
...
...
@@ -48,14 +48,14 @@ static int nApplicationPageWidth;
static
int
nApplicationPageHeight
;
static
HANDLE
hApplicationPageEvent
=
NULL
;
/* When this event becomes signaled then we refresh the app list */
static
BOOL
bSortAscending
=
TRUE
;
DWORD
WINAPI
ApplicationPageRefreshThread
(
void
*
lpParameter
);
BOOL
CALLBACK
EnumWindowsProc
(
HWND
hWnd
,
LPARAM
lParam
);
void
AddOrUpdateHwnd
(
HWND
hWnd
,
TCHAR
*
szTitle
,
HICON
hIcon
,
BOOL
bHung
);
void
ApplicationPageUpdate
(
void
);
void
ApplicationPageOnNotify
(
WPARAM
wParam
,
LPARAM
lParam
);
void
ApplicationPageShowContextMenu1
(
void
);
void
ApplicationPageShowContextMenu2
(
void
);
int
CALLBACK
ApplicationPageCompareFunc
(
LPARAM
lParam1
,
LPARAM
lParam2
,
LPARAM
lParamSort
);
static
DWORD
WINAPI
ApplicationPageRefreshThread
(
void
*
lpParameter
);
static
BOOL
CALLBACK
EnumWindowsProc
(
HWND
hWnd
,
LPARAM
lParam
);
static
void
AddOrUpdateHwnd
(
HWND
hWnd
,
TCHAR
*
szTitle
,
HICON
hIcon
,
BOOL
bHung
);
static
void
ApplicationPageUpdate
(
void
);
static
void
ApplicationPageOnNotify
(
WPARAM
wParam
,
LPARAM
lParam
);
static
void
ApplicationPageShowContextMenu1
(
void
);
static
void
ApplicationPageShowContextMenu2
(
void
);
static
int
CALLBACK
ApplicationPageCompareFunc
(
LPARAM
lParam1
,
LPARAM
lParam2
,
LPARAM
lParamSort
);
#if 0
void SwitchToThisWindow (
...
...
@@ -221,7 +221,7 @@ void UpdateApplicationListControlViewSetting(void)
RefreshApplicationPage
();
}
DWORD
WINAPI
ApplicationPageRefreshThread
(
void
*
lpParameter
)
static
DWORD
WINAPI
ApplicationPageRefreshThread
(
void
*
lpParameter
)
{
/* Create the event */
hApplicationPageEvent
=
CreateEvent
(
NULL
,
TRUE
,
TRUE
,
NULL
);
...
...
@@ -257,7 +257,7 @@ DWORD WINAPI ApplicationPageRefreshThread(void *lpParameter)
}
}
BOOL
CALLBACK
EnumWindowsProc
(
HWND
hWnd
,
LPARAM
lParam
)
static
BOOL
CALLBACK
EnumWindowsProc
(
HWND
hWnd
,
LPARAM
lParam
)
{
HICON
hIcon
;
TCHAR
szText
[
260
];
...
...
@@ -312,7 +312,7 @@ BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
return
TRUE
;
}
void
AddOrUpdateHwnd
(
HWND
hWnd
,
TCHAR
*
szTitle
,
HICON
hIcon
,
BOOL
bHung
)
static
void
AddOrUpdateHwnd
(
HWND
hWnd
,
TCHAR
*
szTitle
,
HICON
hIcon
,
BOOL
bHung
)
{
LPAPPLICATION_PAGE_LIST_ITEM
pAPLI
=
NULL
;
HIMAGELIST
hImageListLarge
;
...
...
@@ -434,7 +434,7 @@ void AddOrUpdateHwnd(HWND hWnd, TCHAR *szTitle, HICON hIcon, BOOL bHung)
ApplicationPageUpdate
();
}
void
ApplicationPageUpdate
(
void
)
static
void
ApplicationPageUpdate
(
void
)
{
/* Enable or disable the "End Task" & "Switch To" buttons */
if
(
ListView_GetSelectedCount
(
hApplicationPageListCtrl
))
...
...
@@ -491,7 +491,7 @@ void ApplicationPageUpdate(void)
}
}
void
ApplicationPageOnNotify
(
WPARAM
wParam
,
LPARAM
lParam
)
static
void
ApplicationPageOnNotify
(
WPARAM
wParam
,
LPARAM
lParam
)
{
int
idctrl
;
LPNMHDR
pnmh
;
...
...
@@ -579,7 +579,7 @@ void ApplicationPageOnNotify(WPARAM wParam, LPARAM lParam)
}
void
ApplicationPageShowContextMenu1
(
void
)
static
void
ApplicationPageShowContextMenu1
(
void
)
{
HMENU
hMenu
;
HMENU
hSubMenu
;
...
...
@@ -602,7 +602,7 @@ void ApplicationPageShowContextMenu1(void)
DestroyMenu
(
hMenu
);
}
void
ApplicationPageShowContextMenu2
(
void
)
static
void
ApplicationPageShowContextMenu2
(
void
)
{
HMENU
hMenu
;
HMENU
hSubMenu
;
...
...
@@ -945,7 +945,7 @@ void ApplicationPage_OnGotoProcess(void)
}
}
int
CALLBACK
ApplicationPageCompareFunc
(
LPARAM
lParam1
,
LPARAM
lParam2
,
LPARAM
lParamSort
)
static
int
CALLBACK
ApplicationPageCompareFunc
(
LPARAM
lParam1
,
LPARAM
lParam2
,
LPARAM
lParamSort
)
{
LPAPPLICATION_PAGE_LIST_ITEM
Param1
;
LPAPPLICATION_PAGE_LIST_ITEM
Param2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment