Commit Graph

283 Commits

Author SHA1 Message Date
Zhiyi Zhang 3058bac5e9 taskmgr: Enable visual styles.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-10 23:04:03 +02:00
Alexandre Julliard 0913e43bf9 taskmgr: Fetch the debug channels from the PEB memory block.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-24 22:03:51 +02:00
Alexandre Julliard 85846bfbf4 taskmgr: Avoid wcsncpy().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-04 21:33:15 +02:00
Alexandre Julliard afaf35b9e1 include: Add more SYSTEM_INFORMATION_CLASS definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Michael Stefaniuc c2883d77b8 taskmgr: Use two kernel32 functions directly.
The yougest one, IsWow64Proces, is available since WinXP SP2 / Vista.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:43:20 +02:00
Michael Stefaniuc cf3e6c353b taskmgr: Use NtQuerySystemInformation() directly.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 12:43:15 +02:00
Michael Stefaniuc d98cd9e82a taskmgr: Use GetGuiResources() directly.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:59:18 +02:00
Michael Stefaniuc 9764b6fe37 taskmgr: Shell32 is imported, no need to load it again.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:59:05 +02:00
Michael Stefaniuc ef10cd8b6d taskmgr: SwitchToThisWindow() is available, remove alternate code path.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-16 11:21:24 +02:00
Michael Stefaniuc 054be18f75 taskmgr: There's no need to GetProcAddress() IsHungAppWindow().
It's available since Win2K.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-16 11:21:13 +02:00
Alexandre Julliard 7161dcd426 ntdll: Return the current time and timezone bias in NtQuerySystemInformation(SystemTimeOfDayInformation).
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-25 23:08:30 +02:00
Jacek Caban 032190ac91 taskmgr: Introduce size_diff helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:10:53 +02:00
Alexandre Julliard a58f4abc08 makefiles: Allow using EXTRADLLFLAGS instead of APPMODE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:27:39 +02:00
Alexandre Julliard 9b63daca51 include: Default to the standards-compliant version of swprintf().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02:00
Vijay Kiran Kamuju 17056908ac taskmgr: Use StrFormatKBSizeW/StrFormatByteSizeW to show memory usage.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 22:30:44 +02:00
Michael Müller 5cd7f63f72 taskmgr: Use system font instead of special bitmap font.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:27:19 +02:00
Alexandre Julliard 3036649a34 taskmgr: Use C runtime wchar functions instead of wine/unicode.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:51:03 +02:00
Isira Seneviratne e0625660c8 taskmgr: Replace repeated code with for loops.
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:09:34 +01:00
Michael Stefaniuc 0b88a53acd taskmgr: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:42:09 +02:00
Jacek Caban 35faa0e7ed taskmgr: Removed no longer needed psapi import.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-03 13:25:25 +01:00
Michael Stefaniuc b11b448d72 taskmgr: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 18:41:54 +09:00
Michael Stefaniuc 4c5e3205ee taskmgr: Remove some old commented out code, mostly C++.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 18:41:44 +09:00
Bernhard Übelacker 74c2989db3 taskmgr: Fix changing of debug channels.
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 13:26:26 +09:00
Nikolay Sivov db4dd8cd38 taskmgr: Set column order through listview. 2015-03-31 16:43:34 +09:00
Nikolay Sivov 66722487a7 taskmgr: Simplify setting extended style for a list. 2015-03-25 19:38:38 +09:00
André Hentschel 68d85cc7f8 taskmgr: Remove dead code. 2015-02-23 15:25:56 +09:00
Michael Stefaniuc 517a495737 taskmgr: Fix messed up indentation of an if statement (PVS-Studio). 2014-10-29 20:31:06 +09:00
Akihiro Sagawa 776849987d taskmgr: Show whether the process is running under WOW64. 2014-05-12 10:52:33 +02:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
André Hentschel 810fbdd222 taskmgr: Avoid return type when the return value is not used. 2014-02-04 11:15:05 +01:00
Alexandre Julliard 3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard 31f8893678 taskmgr: Use definitions from winternl.h instead of duplicating them. 2013-09-11 18:33:07 +02:00
Alexandre Julliard f241725bd8 taskmgr: Convert version resource to the standard format. 2013-07-09 22:21:57 +02:00
Alexandre Julliard 24ac29e190 taskmgr: Add a 256x256 icon. 2013-03-27 20:12:27 +01:00
Michael Stefaniuc 4cebe9e27e taskmgr: Drop a superfluous TRUE:FALSE conditional expression. 2012-08-16 11:06:54 +02:00
Francois Gouget d2b0c3e1ad taskmgr: Tweak the spelling of a label. 2012-08-16 11:02:33 +02:00
Francois Gouget ec6a0fdb61 taskmgr: Fix the spelling of the AdjustControlPosition() function. 2012-05-15 16:26:41 +02:00
Frédéric Delanoy d463243754 taskmgr: Debug classes names are not translatable. 2012-02-08 17:19:50 -06:00
Alexandre Julliard 58a8047346 taskmgr: Fix includes order and avoid tchar.h and memory.h. 2012-01-23 16:07:34 +01:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Pierre Schweitzer 4f18f4d2c3 taskmgr: Fix handle leaks. 2012-01-03 12:37:52 +01:00
Francois Gouget fdddb60cdc taskmgr: Use sentence capitalization for group box labels. 2011-12-29 16:41:59 +01:00
Francois Gouget 3e46f2a798 taskmgr: Remove unneeded and untranslatable widget labels. 2011-12-16 17:40:33 +01:00
Frédéric Delanoy 5ed423f53b taskmgr: Avoid dead assignment (Clang). 2011-12-07 17:50:03 +01:00
Francois Gouget 887c1c586a taskmgr: Fix a string resource so its format placeholders can be reordered.
Also the numbers we format are actually unsigned.
2011-11-24 17:13:57 +01:00
Alexandre Julliard b82371ec97 taskmgr: Convert dialogs to po files. 2011-11-17 21:49:43 +01:00
Francois Gouget 2dc6d78347 taskmgr: Fix the name of a couple of process priority levels. 2011-09-05 11:10:18 +02:00