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
2a7dbd67
Commit
2a7dbd67
authored
Jun 06, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Use correct types for Win64.
parent
639e8d26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
affinity.c
programs/taskmgr/affinity.c
+3
-3
taskmgr.c
programs/taskmgr/taskmgr.c
+2
-2
No files found.
programs/taskmgr/affinity.c
View file @
2a7dbd67
...
@@ -38,9 +38,9 @@ HANDLE hProcessAffinityHandle;
...
@@ -38,9 +38,9 @@ HANDLE hProcessAffinityHandle;
static
INT_PTR
CALLBACK
static
INT_PTR
CALLBACK
AffinityDialogWndProc
(
HWND
hDlg
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
AffinityDialogWndProc
(
HWND
hDlg
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
{
DWORD
dwProcessAffinityMask
=
0
;
DWORD
_PTR
dwProcessAffinityMask
=
0
;
DWORD
dwSystemAffinityMask
=
0
;
DWORD
_PTR
dwSystemAffinityMask
=
0
;
TCHAR
strErrorText
[
260
];
TCHAR
strErrorText
[
260
];
switch
(
message
)
{
switch
(
message
)
{
case
WM_INITDIALOG
:
case
WM_INITDIALOG
:
...
...
programs/taskmgr/taskmgr.c
View file @
2a7dbd67
...
@@ -649,7 +649,7 @@ static void TaskManager_OnTabWndSelChange(void)
...
@@ -649,7 +649,7 @@ static void TaskManager_OnTabWndSelChange(void)
if
(
GetMenuItemCount
(
hMenu
)
<=
4
)
{
if
(
GetMenuItemCount
(
hMenu
)
<=
4
)
{
hSubMenu
=
LoadMenu
(
hInst
,
MAKEINTRESOURCE
(
IDR_WINDOWSMENU
));
hSubMenu
=
LoadMenu
(
hInst
,
MAKEINTRESOURCE
(
IDR_WINDOWSMENU
));
InsertMenu
(
hMenu
,
3
,
MF_BYPOSITION
|
MF_POPUP
,
(
UINT
)
hSubMenu
,
_T
(
"&Windows"
));
InsertMenu
(
hMenu
,
3
,
MF_BYPOSITION
|
MF_POPUP
,
(
UINT
_PTR
)
hSubMenu
,
_T
(
"&Windows"
));
DrawMenuBar
(
hMainWnd
);
DrawMenuBar
(
hMainWnd
);
}
}
if
(
TaskManagerSettings
.
View_LargeIcons
)
if
(
TaskManagerSettings
.
View_LargeIcons
)
...
@@ -696,7 +696,7 @@ static void TaskManager_OnTabWndSelChange(void)
...
@@ -696,7 +696,7 @@ static void TaskManager_OnTabWndSelChange(void)
hSubMenu
=
CreatePopupMenu
();
hSubMenu
=
CreatePopupMenu
();
AppendMenu
(
hSubMenu
,
MF_STRING
,
ID_VIEW_CPUHISTORY_ONEGRAPHALL
,
_T
(
"&One Graph, All CPUs"
));
AppendMenu
(
hSubMenu
,
MF_STRING
,
ID_VIEW_CPUHISTORY_ONEGRAPHALL
,
_T
(
"&One Graph, All CPUs"
));
AppendMenu
(
hSubMenu
,
MF_STRING
,
ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU
,
_T
(
"One Graph &Per CPU"
));
AppendMenu
(
hSubMenu
,
MF_STRING
,
ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU
,
_T
(
"One Graph &Per CPU"
));
AppendMenu
(
hViewMenu
,
MF_STRING
|
MF_POPUP
,
(
UINT
)
hSubMenu
,
_T
(
"&CPU History"
));
AppendMenu
(
hViewMenu
,
MF_STRING
|
MF_POPUP
,
(
UINT
_PTR
)
hSubMenu
,
_T
(
"&CPU History"
));
AppendMenu
(
hViewMenu
,
MF_STRING
,
ID_VIEW_SHOWKERNELTIMES
,
_T
(
"&Show Kernel Times"
));
AppendMenu
(
hViewMenu
,
MF_STRING
,
ID_VIEW_SHOWKERNELTIMES
,
_T
(
"&Show Kernel Times"
));
if
(
TaskManagerSettings
.
ShowKernelTimes
)
if
(
TaskManagerSettings
.
ShowKernelTimes
)
CheckMenuItem
(
hViewMenu
,
ID_VIEW_SHOWKERNELTIMES
,
MF_BYCOMMAND
|
MF_CHECKED
);
CheckMenuItem
(
hViewMenu
,
ID_VIEW_SHOWKERNELTIMES
,
MF_BYCOMMAND
|
MF_CHECKED
);
...
...
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