323 lines
13 KiB
Plaintext
323 lines
13 KiB
Plaintext
/*
|
||
* Task Manager
|
||
*
|
||
* Copyright 1999-2001 Brian Palmer
|
||
*
|
||
*
|
||
* This library is free software; you can redistribute it and/or
|
||
* modify it under the terms of the GNU Lesser General Public
|
||
* License as published by the Free Software Foundation; either
|
||
* version 2.1 of the License, or (at your option) any later version.
|
||
*
|
||
* This library is distributed in the hope that it will be useful,
|
||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
* Lesser General Public License for more details.
|
||
*
|
||
* You should have received a copy of the GNU Lesser General Public
|
||
* License along with this library; if not, write to the Free Software
|
||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||
*/
|
||
|
||
#include <windows.h>
|
||
#include "resource.h"
|
||
|
||
/* Language resources */
|
||
|
||
#include "De.rc"
|
||
#include "En.rc"
|
||
#include "Fr.rc"
|
||
#include "Ko.rc"
|
||
#include "Nl.rc"
|
||
#include "No.rc"
|
||
#include "Pl.rc"
|
||
#include "Tr.rc"
|
||
|
||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||
|
||
/*
|
||
Icon
|
||
*/
|
||
|
||
/* Icon with lowest ID value placed first to ensure application icon
|
||
remains consistent on all systems. */
|
||
/* BINRES taskmgr.ico */
|
||
IDI_TASKMANAGER ICON DISCARDABLE taskmgr.ico
|
||
/* {
|
||
'00 00 01 00 02 00 20 20 10 00 00 00 00 00 E8 02'
|
||
'00 00 26 00 00 00 10 10 10 00 00 00 00 00 28 01'
|
||
'00 00 0E 03 00 00 28 00 00 00 20 00 00 00 40 00'
|
||
'00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
|
||
'00 00 80 00 80 00 80 80 00 00 C0 C0 C0 00 80 80'
|
||
'80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
|
||
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 FF F7 77 88 80 00 00 00 00 F7'
|
||
'77 77 77 80 00 00 07 77 88 88 00 00 00 00 00 F7'
|
||
'77 87 87 88 00 00 00 88 88 80 00 00 00 00 00 F7'
|
||
'77 87 87 88 80 00 00 00 00 00 00 00 00 00 00 F7'
|
||
'77 87 87 88 08 88 88 88 88 88 88 88 00 00 00 F7'
|
||
'97 87 87 80 87 77 77 77 77 77 77 77 70 00 00 F7'
|
||
'77 87 87 80 77 FF FF FF FF FF FF F7 70 00 00 F7'
|
||
'77 87 87 80 78 00 00 00 00 00 0A AF 70 00 00 F7'
|
||
'27 87 87 80 78 AA 00 00 00 00 A2 0F 70 00 00 F7'
|
||
'A2 77 77 80 78 02 A0 0A 00 0A 20 0F 70 00 00 F7'
|
||
'77 77 77 80 78 00 2A A2 A0 0A 00 0F 70 00 00 F7'
|
||
'00 07 87 80 78 00 00 00 A0 0A 00 0F 70 00 00 F7'
|
||
'88 77 F7 80 78 00 08 00 2A 0A 00 0F 70 00 00 F7'
|
||
'77 77 77 80 78 00 8F 80 0A A2 00 0F 70 00 00 F7'
|
||
'77 77 77 80 78 00 08 00 02 A0 00 0F 70 00 00 F7'
|
||
'00 00 07 80 78 00 00 00 00 A0 00 0F 70 00 00 F7'
|
||
'88 88 77 80 7F 88 88 88 88 88 88 87 70 00 00 F7'
|
||
'77 77 77 80 FF 77 77 77 77 77 77 77 70 00 00 F7'
|
||
'00 00 07 88 07 FF FF FF FF FF FF FF 00 00 00 F7'
|
||
'88 88 77 88 80 00 00 00 00 00 00 00 00 00 00 F7'
|
||
'77 77 77 88 80 00 00 00 00 00 00 00 00 00 00 0F'
|
||
'FF FF FF 88 80 00 00 00 00 00 00 00 00 00 00 07'
|
||
'77 77 77 78 80 00 00 00 00 00 00 00 00 00 00 00'
|
||
'77 77 77 77 80 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF'
|
||
'00 7F C0 3C 00 1F 80 0F 00 7F 80 07 80 FF 80 00'
|
||
'00 0F 80 00 00 07 80 00 00 03 80 00 00 03 80 00'
|
||
'00 03 80 00 00 03 80 00 00 03 80 00 00 03 80 00'
|
||
'00 03 80 00 00 03 80 00 00 03 80 00 00 03 80 00'
|
||
'00 03 80 00 00 03 80 00 00 03 80 00 00 07 80 00'
|
||
'00 0F 80 03 FF FF 80 03 FF FF C0 03 FF FF E0 03'
|
||
'FF FF F0 03 FF FF FF FF FF FF FF FF FF FF 28 00'
|
||
'00 00 10 00 00 00 20 00 00 00 01 00 04 00 00 00'
|
||
'00 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
|
||
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
|
||
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
|
||
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
|
||
'00 00 FF FF FF 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 F8 78 80 00 0F 77'
|
||
'78 00 0F 78 00 00 0F 78 70 88 88 88 80 00 0F 78'
|
||
'70 F7 77 77 77 00 0F 78 70 F2 A0 00 A8 00 0F AF'
|
||
'70 F0 2A 0A 08 00 0F 77 70 F0 00 A2 08 00 0F 00'
|
||
'70 F0 F0 A0 08 00 0F 77 70 F8 88 88 88 00 0F 00'
|
||
'70 FF FF FF FF 00 0F FF F8 00 00 00 00 00 08 77'
|
||
'78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 FF FF 00 00 FF 07 00 00 82 03'
|
||
'00 00 01 07 00 00 00 03 00 00 00 01 00 00 00 01'
|
||
'00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 01'
|
||
'00 00 00 01 00 00 00 03 00 00 01 FF 00 00 81 FF'
|
||
'00 00 FF FF 00 00'
|
||
} */
|
||
|
||
/* BINRES window.ico */
|
||
IDI_WINDOW ICON DISCARDABLE window.ico
|
||
/* {
|
||
'00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
|
||
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
|
||
'00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
|
||
'00 00 80 00 80 00 80 80 00 00 C0 C0 C0 00 80 80'
|
||
'80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
|
||
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 88 88'
|
||
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 87 77'
|
||
'77 77 77 77 77 77 77 77 77 77 77 77 77 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 8F'
|
||
'FF FF FF FF FF FF FF FF FF FF FF FF F7 80 87 88'
|
||
'88 88 88 88 88 88 88 88 88 88 88 88 87 80 87 77'
|
||
'77 77 77 77 77 77 77 77 77 77 77 77 77 80 87 44'
|
||
'44 44 44 44 44 44 44 44 40 00 00 00 00 80 87 44'
|
||
'44 44 44 44 44 44 44 44 47 70 77 07 70 80 87 44'
|
||
'44 44 44 44 44 44 44 44 47 70 77 07 70 80 87 44'
|
||
'44 44 44 44 44 44 44 44 44 44 44 44 44 80 87 77'
|
||
'77 77 77 77 77 77 77 77 77 77 77 77 77 80 88 88'
|
||
'88 88 88 88 88 88 88 88 88 88 88 88 88 80 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF'
|
||
'FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 FF FF FF FF'
|
||
} */
|
||
|
||
/* BINRES windowsm.ico */
|
||
IDI_WINDOWSM ICON DISCARDABLE windowsm.ico
|
||
/* {
|
||
'00 00 01 00 01 00 10 10 10 00 00 00 00 00 28 01'
|
||
'00 00 16 00 00 00 28 00 00 00 10 00 00 00 20 00'
|
||
'00 00 01 00 04 00 00 00 00 00 C0 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
|
||
'00 00 80 00 80 00 80 80 00 00 C0 C0 C0 00 80 80'
|
||
'80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
|
||
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 88 88'
|
||
'88 88 88 88 88 80 87 FF FF FF FF FF FF 80 87 FF'
|
||
'FF FF FF FF FF 80 87 FF FF FF FF FF FF 80 87 FF'
|
||
'FF FF FF FF FF 80 87 FF FF FF FF FF FF 80 87 FF'
|
||
'FF FF FF FF FF 80 87 FF FF FF FF FF FF 80 87 88'
|
||
'88 88 88 88 88 80 87 44 44 44 F0 F0 F0 80 87 44'
|
||
'44 44 44 44 44 80 87 77 77 77 77 77 77 80 88 88'
|
||
'88 88 88 88 88 88 00 00 00 00 00 00 00 00 FF FF'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 FF FF 00 00'
|
||
} */
|
||
|
||
/*
|
||
Version
|
||
*/
|
||
|
||
VS_VERSION_INFO VERSIONINFO
|
||
FILEVERSION 1,0,0,1
|
||
PRODUCTVERSION 1,0,0,1
|
||
FILEFLAGSMASK 0x3fL
|
||
#ifdef _DEBUG
|
||
FILEFLAGS 0x1L
|
||
#else
|
||
FILEFLAGS 0x0L
|
||
#endif
|
||
FILEOS 0x40004L
|
||
FILETYPE 0x1L
|
||
FILESUBTYPE 0x0L
|
||
BEGIN
|
||
BLOCK "StringFileInfo"
|
||
BEGIN
|
||
BLOCK "040904b0"
|
||
BEGIN
|
||
VALUE "CompanyName", "Brian Palmer\0"
|
||
VALUE "FileDescription", "Task Manager by Brian Palmer\0"
|
||
VALUE "FileVersion", "1.0.0.1\0"
|
||
VALUE "InternalName", "taskmgr\0"
|
||
VALUE "LegalCopyright", "Copyright <20> Brian Palmer 2000\0"
|
||
VALUE "OriginalFilename", "taskmgr.exe\0"
|
||
VALUE "ProductName", "Task Manager by Brian Palmer\0"
|
||
VALUE "ProductVersion", "1.0.0.1\0"
|
||
END
|
||
END
|
||
BLOCK "VarFileInfo"
|
||
BEGIN
|
||
VALUE "Translation", 0x409, 1200
|
||
END
|
||
END
|
||
|
||
/*
|
||
Bitmap
|
||
*/
|
||
|
||
/* BINRES traymask.bmp */
|
||
IDB_TRAYMASK BITMAP DISCARDABLE traymask.bmp
|
||
/* {
|
||
'42 4D F6 00 00 00 00 00 00 00 76 00 00 00 28 00'
|
||
'00 00 10 00 00 00 10 00 00 00 01 00 04 00 00 00'
|
||
'00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
|
||
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
|
||
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
|
||
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
|
||
'00 00 FF FF FF 00 FF FF FF FF FF FF FF FF FF FF'
|
||
'FF FF FF FF FF FF FF 00 00 00 00 00 00 FF FF 00'
|
||
'00 00 00 00 00 FF FF 00 00 00 00 00 00 FF FF 00'
|
||
'00 00 00 00 00 FF FF 00 00 00 00 00 00 FF FF 00'
|
||
'00 00 00 00 00 FF FF 00 00 00 00 00 00 FF FF 00'
|
||
'00 00 00 00 00 FF FF 00 00 00 00 00 00 FF FF 00'
|
||
'00 00 00 00 00 FF FF 00 00 00 00 00 00 FF FF 00'
|
||
'00 00 00 00 00 FF FF 00 00 00 00 00 00 FF FF FF'
|
||
'FF FF FF FF FF FF'
|
||
} */
|
||
|
||
/* BINRES trayicon.bmp */
|
||
IDB_TRAYICON BITMAP DISCARDABLE trayicon.bmp
|
||
/* {
|
||
'42 4D F6 00 00 00 00 00 00 00 76 00 00 00 28 00'
|
||
'00 00 10 00 00 00 10 00 00 00 01 00 04 00 00 00'
|
||
'00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
|
||
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
|
||
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
|
||
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
|
||
'00 00 FF FF FF 00 00 00 00 00 00 00 00 00 00 00'
|
||
'00 00 00 00 00 00 00 8F FF FF FF FF FF 00 00 80'
|
||
'20 20 20 20 2F 00 00 82 22 22 22 22 2F 00 00 80'
|
||
'20 20 20 20 2F 00 00 82 22 22 22 22 2F 00 00 80'
|
||
'20 20 20 20 2F 00 00 82 22 22 22 22 2F 00 00 80'
|
||
'20 20 20 20 2F 00 00 82 22 22 22 22 2F 00 00 80'
|
||
'20 20 20 20 2F 00 00 82 22 22 22 22 2F 00 00 80'
|
||
'20 20 20 20 2F 00 00 88 88 88 88 88 8F 00 00 00'
|
||
'00 00 00 00 00 00'
|
||
} */
|
||
|
||
/* BINRES font.bmp */
|
||
IDB_FONT BITMAP DISCARDABLE font.bmp
|
||
/* {
|
||
'42 4D 86 02 00 00 00 00 00 00 76 00 00 00 28 00'
|
||
'00 00 60 00 00 00 0B 00 00 00 01 00 04 00 00 00'
|
||
'00 00 10 02 00 00 74 12 00 00 74 12 00 00 00 00'
|
||
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
|
||
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
|
||
'00 00 C0 C0 C0 00 80 80 80 00 00 00 FF 00 00 FF'
|
||
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
|
||
'00 00 FF FF FF 00 AA AA AA A0 00 00 0A 00 AA AA'
|
||
'AA A0 AA AA AA A0 00 00 00 A0 AA AA AA A0 AA AA'
|
||
'AA A0 00 00 00 A0 AA AA AA A0 AA AA AA A0 A0 00'
|
||
'00 A0 00 00 00 00 A0 00 00 A0 00 00 0A 00 A0 00'
|
||
'00 00 00 00 00 A0 00 00 00 A0 00 00 00 A0 A0 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 00 00 00 A0 A0 00'
|
||
'0A 00 00 00 AA 00 A0 00 00 A0 00 00 0A 00 A0 00'
|
||
'00 00 00 00 00 A0 00 00 00 A0 00 00 00 A0 A0 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 00 00 00 A0 A0 00'
|
||
'A0 00 A0 0A 00 A0 A0 00 00 A0 00 00 0A 00 A0 00'
|
||
'00 00 00 00 00 A0 00 00 00 A0 00 00 00 A0 A0 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 00 00 00 A0 A0 0A'
|
||
'00 00 0A 00 AA 00 A0 00 00 A0 00 00 0A 00 A0 00'
|
||
'00 00 00 00 00 A0 00 00 00 A0 00 00 00 A0 A0 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 00 00 00 A0 A0 A0'
|
||
'00 00 00 A0 00 00 A0 00 00 A0 00 00 0A 00 AA AA'
|
||
'AA A0 0A AA AA A0 AA AA AA A0 AA AA AA A0 AA AA'
|
||
'AA A0 00 00 00 A0 AA AA AA A0 AA AA AA A0 AA 00'
|
||
'00 00 00 0A 00 00 A0 00 00 A0 00 00 0A 00 00 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 A0 00 00 00 A0 00'
|
||
'00 00 00 00 00 A0 A0 00 00 A0 A0 00 00 A0 A0 A0'
|
||
'00 00 00 00 A0 00 A0 00 00 A0 00 00 0A 00 00 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 A0 00 00 00 A0 00'
|
||
'00 00 00 00 00 A0 A0 00 00 A0 A0 00 00 A0 A0 0A'
|
||
'00 00 0A A0 0A 00 A0 00 00 A0 00 00 0A 00 00 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 A0 00 00 00 A0 00'
|
||
'00 00 00 00 00 A0 A0 00 00 A0 A0 00 00 A0 A0 00'
|
||
'A0 00 A0 0A 00 A0 A0 00 00 A0 00 00 0A 00 00 00'
|
||
'00 A0 00 00 00 A0 A0 00 00 A0 A0 00 00 00 A0 00'
|
||
'00 00 00 00 00 A0 A0 00 00 A0 A0 00 00 A0 A0 00'
|
||
'0A 00 0A A0 00 00 AA AA AA A0 00 00 0A 00 AA AA'
|
||
'AA A0 AA AA AA A0 A0 00 00 A0 AA AA AA A0 AA AA'
|
||
'AA A0 AA AA AA A0 AA AA AA A0 AA AA AA A0 A0 00'
|
||
'00 A0 00 00 00 00'
|
||
} */
|