dxgi: Remove an unneeded refcount field.
[wine.git] / programs / taskmgr / taskmgr.rc
blobdb0563f43c972f8a152995d288784fca92cfa8b0
1 /*
2  *  Task Manager
3  *
4  *  Copyright 1999-2001 Brian Palmer
5  *
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20  */
22 #include "resource.h"
24 #pragma code_page(65001)
26 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
29  Menus
32 IDR_TASKMANAGER MENU
33 BEGIN
34     POPUP "&File"
35     BEGIN
36         MENUITEM "&New Task (Run...)",          ID_FILE_NEW
37         MENUITEM SEPARATOR
38         MENUITEM "E&xit Task Manager",          ID_FILE_EXIT
39     END
40     POPUP "&Options"
41     BEGIN
42         MENUITEM "&Always on Top",              ID_OPTIONS_ALWAYSONTOP
43         , CHECKED
44         MENUITEM "&Minimize On Use",            ID_OPTIONS_MINIMIZEONUSE
45         , CHECKED
46         MENUITEM "&Hide When Minimized",        ID_OPTIONS_HIDEWHENMINIMIZED
47         , CHECKED
48         MENUITEM "&Show 16-bit tasks",          ID_OPTIONS_SHOW16BITTASKS
49         , CHECKED
50     END
51     POPUP "&View"
52     BEGIN
53         MENUITEM "&Refresh Now",                ID_VIEW_REFRESH
54         POPUP "&Update Speed"
55         BEGIN
56             MENUITEM "&High",                       ID_VIEW_UPDATESPEED_HIGH
57             MENUITEM "&Normal",                     ID_VIEW_UPDATESPEED_NORMAL
58             , CHECKED
59             MENUITEM "&Low",                        ID_VIEW_UPDATESPEED_LOW
60             MENUITEM "&Paused",                     ID_VIEW_UPDATESPEED_PAUSED
62         END
63         MENUITEM SEPARATOR
64         MENUITEM "Lar&ge Icons",                ID_VIEW_LARGE
65         MENUITEM "S&mall Icons",                ID_VIEW_SMALL
66         MENUITEM "&Details",                    ID_VIEW_DETAILS, CHECKED
67         MENUITEM "&Select Columns...",          ID_VIEW_SELECTCOLUMNS
68         POPUP "&CPU History"
69         BEGIN
70             MENUITEM "&One Graph, All CPUs",        ID_VIEW_CPUHISTORY_ONEGRAPHALL
72             MENUITEM "One Graph &Per CPU",          ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU
73             , CHECKED
74         END
75         MENUITEM "&Show Kernel Times",          ID_VIEW_SHOWKERNELTIMES
76     END
77     POPUP "&Windows"
78     BEGIN
79         MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
80         MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
81         MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
82         MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
83         MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
84         MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
85     END
86     POPUP "&Help"
87     BEGIN
88         MENUITEM "&Contents",                   ID_HELP_TOPICS
89         MENUITEM "&About Task Manager",         ID_HELP_ABOUT
90     END
91 END
93 IDR_WINDOWSMENU MENU
94 BEGIN
95     MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
96     MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
97     MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
98     MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
99     MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
100     MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
103 IDR_APPLICATION_PAGE_CONTEXT1 MENU
104 BEGIN
105     POPUP ""
106     BEGIN
107         MENUITEM "&New Task (Run...)",          ID_FILE_NEW
108         MENUITEM SEPARATOR
109         MENUITEM "Lar&ge Icons",                ID_VIEW_LARGE
110         MENUITEM "S&mall Icons",                ID_VIEW_SMALL
111         MENUITEM "&Details",                    ID_VIEW_DETAILS, CHECKED
112     END
115 IDR_APPLICATION_PAGE_CONTEXT2 MENU
116 BEGIN
117     POPUP ""
118     BEGIN
119         MENUITEM "&Switch To",                  ID_APPLICATION_PAGE_SWITCHTO
120         MENUITEM "&Bring To Front",             ID_WINDOWS_BRINGTOFRONT
121         MENUITEM SEPARATOR
122         MENUITEM "Tile &Horizontally",          ID_WINDOWS_TILEHORIZONTALLY
123         MENUITEM "Tile &Vertically",            ID_WINDOWS_TILEVERTICALLY
124         MENUITEM "&Minimize",                   ID_WINDOWS_MINIMIZE
125         MENUITEM "Ma&ximize",                   ID_WINDOWS_MAXIMIZE
126         MENUITEM "&Cascade",                    ID_WINDOWS_CASCADE
127         MENUITEM SEPARATOR
128         MENUITEM "&End Task",                   ID_APPLICATION_PAGE_ENDTASK
129         MENUITEM "&Go To Process",              ID_APPLICATION_PAGE_GOTOPROCESS
130     END
133 IDR_TRAY_POPUP MENU
134 BEGIN
135     POPUP ""
136     BEGIN
137         MENUITEM "#msgctxt#window#&Restore",    ID_RESTORE
138         MENUITEM "&Close",                      ID_FILE_EXIT
139         MENUITEM SEPARATOR
140         MENUITEM "&Always on Top",              ID_OPTIONS_ALWAYSONTOP
141     END
144 IDR_PROCESS_PAGE_CONTEXT MENU
145 BEGIN
146     POPUP ""
147     BEGIN
148         MENUITEM "&End Process",                ID_PROCESS_PAGE_ENDPROCESS
149         MENUITEM "End Process &Tree",           ID_PROCESS_PAGE_ENDPROCESSTREE
151         MENUITEM "&Debug",                      ID_PROCESS_PAGE_DEBUG
152         MENUITEM SEPARATOR
153         POPUP "Set &Priority"
154         BEGIN
155             MENUITEM "&Realtime",                   ID_PROCESS_PAGE_SETPRIORITY_REALTIME
157             MENUITEM "&High",                       ID_PROCESS_PAGE_SETPRIORITY_HIGH
159             MENUITEM "&Above Normal",               ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
161             MENUITEM "&Normal",                     ID_PROCESS_PAGE_SETPRIORITY_NORMAL
163             MENUITEM "&Below Normal",               ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
165             MENUITEM "&Low",                        ID_PROCESS_PAGE_SETPRIORITY_LOW
167         END
168         MENUITEM "Set &Affinity...",            ID_PROCESS_PAGE_SETAFFINITY
169         MENUITEM "Edit Debug &Channels...",     ID_PROCESS_PAGE_DEBUGCHANNELS
170     END
174  String Tables
177 STRINGTABLE
178 BEGIN
179     IDS_APP_TITLE           "Task Manager"
180     IDC_TASKMGR             "Task Manager"
181     IDS_RUNDLG_CAPTION      "Create New Task"
184 STRINGTABLE
185 BEGIN
186     ID_FILE_NEW             "Runs a new program"
187     ID_OPTIONS_ALWAYSONTOP  "Task Manager remains in front of all other windows unless minimized"
188     ID_OPTIONS_MINIMIZEONUSE
189                             "Task Manager is minimized when a SwitchTo operation is performed"
190     ID_OPTIONS_HIDEWHENMINIMIZED "Hide the Task Manager when it is minimized"
191     ID_VIEW_REFRESH         "Force Task Manager to update now, regardless of Update Speed setting"
192     ID_VIEW_LARGE           "Displays tasks by using large icons"
193     ID_VIEW_SMALL           "Displays tasks by using small icons"
194     ID_VIEW_DETAILS         "Displays information about each task"
195     ID_VIEW_UPDATESPEED_HIGH "Updates the display twice per second"
196     ID_VIEW_UPDATESPEED_NORMAL "Updates the display every two seconds"
197     ID_VIEW_UPDATESPEED_LOW "Updates the display every four seconds"
200 STRINGTABLE
201 BEGIN
202     ID_VIEW_UPDATESPEED_PAUSED "Does not automatically update"
203     ID_WINDOWS_TILEHORIZONTALLY
204                             "Tiles the windows horizontally on the desktop"
205     ID_WINDOWS_TILEVERTICALLY "Tiles the windows vertically on the desktop"
206     ID_WINDOWS_MINIMIZE     "Minimizes the windows"
207     ID_WINDOWS_MAXIMIZE     "Maximizes the windows"
208     ID_WINDOWS_CASCADE      "Cascades the windows diagonally on the desktop"
209     ID_WINDOWS_BRINGTOFRONT "Brings the window front, but does not switch to it"
210     ID_HELP_TOPICS          "Displays Task Manager help topics"
211     ID_HELP_ABOUT           "Displays program information, version number, and copyright"
212     ID_FILE_EXIT            "Exits the Task Manager application"
213     ID_OPTIONS_SHOW16BITTASKS
214                             "Shows 16-bit tasks under the associated ntvdm.exe"
215     ID_VIEW_SELECTCOLUMNS   "Select which columns will be visible on the Process page"
216     ID_VIEW_SHOWKERNELTIMES "Displays kernel time in the performance graphs"
217     ID_VIEW_CPUHISTORY_ONEGRAPHALL
218                             "A single history graph shows total CPU usage"
219     ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU "Each CPU has its own history graph"
220     ID_APPLICATION_PAGE_SWITCHTO
221                             "Brings a task to the foreground, switch focus to that task"
224 STRINGTABLE
225 BEGIN
226     ID_ENDTASK              "Tells the selected tasks to close"
227     ID_GOTOPROCESS          "Switches the focus to the process of the selected task"
228     ID_RESTORE              "Restores the Task Manager from its hidden state"
229     ID_PROCESS_PAGE_ENDPROCESS "Removes the process from the system"
230     ID_PROCESS_PAGE_ENDPROCESSTREE
231                             "Removes this process and all descendants from the system"
232     ID_PROCESS_PAGE_DEBUG   "Attaches the debugger to this process"
233     ID_PROCESS_PAGE_SETAFFINITY
234                             "Controls which processors the process will be allowed to run on"
235     ID_PROCESS_PAGE_SETPRIORITY_REALTIME
236                             "Sets process to the REALTIME priority class"
237     ID_PROCESS_PAGE_SETPRIORITY_HIGH "Sets process to the HIGH priority class"
238     ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL
239                             "Sets process to the ABOVE NORMAL priority class"
240     ID_PROCESS_PAGE_SETPRIORITY_NORMAL
241                             "Sets process to the NORMAL priority class"
242     ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL
243                             "Sets process to the BELOW NORMAL priority class"
244     ID_PROCESS_PAGE_SETPRIORITY_LOW "Sets process to the LOW priority class"
245     ID_PROCESS_PAGE_DEBUGCHANNELS
246                             "Controls Debug Channels"
249 STRINGTABLE
250 BEGIN
251     IDS_VIEW_LARGE                     "Lar&ge Icons"
252     IDS_VIEW_SMALL                     "S&mall Icons"
253     IDS_VIEW_DETAILS                   "&Details"
254     IDS_WINDOWS                        "&Windows"
255     IDS_VIEW_SELECTCOLUMNS             "&Select Columns..."
256     IDS_OPTIONS_SHOW16BITTASKS         "&Show 16-bit tasks"
257     IDS_VIEW_CPUHISTORY                "&CPU History"
258     IDS_VIEW_CPUHISTORY_ONEGRAPHALL    "&One Graph, All CPUs"
259     IDS_VIEW_CPUHISTORY_ONEGRAPHPERCPU "One Graph &Per CPU"
260     IDS_VIEW_SHOWKERNELTIMES           "&Show Kernel Times"
261     IDS_APPLICATIONS                   "Applications"
262     IDS_PROCESSES                      "Processes"
263     IDS_PERFORMANCE                    "Performance"
264     IDS_STATUS_BAR_CPU_USAGE           "CPU Usage: %3d%%"
265     IDS_STATUS_BAR_PROCESSES           "Processes: %d"
266     IDS_STATUS_BAR_MEMORY_USAGE        "Mem Usage: %dK / %dK"
269 STRINGTABLE
270 BEGIN
271     IDS_IMAGENAME         "Image Name"
272     IDS_PID               "PID"
273     IDS_CPUUSAGE          "CPU"
274     IDS_CPUTIME           "CPU Time"
275     IDS_MEMORYUSAGE       "Mem Usage"
276     IDS_MEMORYUSAGEDELTA  "Mem Delta"
277     IDS_PEAKMEMORYUSAGE   "Peak Mem Usage"
278     IDS_PAGEFAULTS        "Page Faults"
279     IDS_USEROBJECTS       "USER Objects"
280     IDS_IOREADS           "I/O Reads"
281     IDS_IOREADBYTES       "I/O Read Bytes"
282     IDS_SESSIONID         "Session ID"
283     IDS_USERNAME          "Username"
284     IDS_PAGEFAULTSDELTA   "PF Delta"
285     IDS_VIRTUALMEMORYSIZE "VM Size"
286     IDS_PAGEDPOOL         "Paged Pool"
287     IDS_NONPAGEDPOOL      "NP Pool"
288     IDS_BASEPRIORITY      "Base Pri"
289     IDS_HANDLECOUNT       "Handles"
290     IDS_THREADCOUNT       "Threads"
291     IDS_GDIOBJECTS        "GDI Objects"
292     IDS_IOWRITES          "I/O Writes"
293     IDS_IOWRITEBYTES      "I/O Write Bytes"
294     IDS_IOOTHER           "I/O Other"
295     IDS_IOOTHERBYTES      "I/O Other Bytes"
298 STRINGTABLE
299 BEGIN
300     IDS_WARNING_TITLE               "Task Manager Warning"
301     IDS_PRIORITY_CHANGE_MESSAGE     "WARNING: Changing the priority class of this process may\n\
302                                      cause undesired results including system instability. Are you\n\
303                                      sure you want to change the priority class?"
304     IDS_PRIORITY_UNABLE2CHANGE      "Unable to Change Priority"
305     IDS_TERMINATE_MESSAGE           "WARNING: Terminating a process can cause undesired\n\
306                                      results including loss of data and system instability. The\n\
307                                      process will not be given the chance to save its state or\n\
308                                      data before it is terminated. Are you sure you want to\n\
309                                      terminate the process?"
310     IDS_TERMINATE_UNABLE2TERMINATE  "Unable to Terminate Process"
311     IDS_DEBUG_MESSAGE               "WARNING: Debugging this process may result in loss of data.\n\
312                                      Are you sure you wish to attach the debugger?"
313     IDS_DEBUG_UNABLE2DEBUG          "Unable to Debug Process"
314     IDS_AFFINITY_ERROR_MESSAGE      "The process must have affinity with at least one processor"
315     IDS_AFFINITY_ERROR_TITLE        "Invalid Option"
316     IDS_AFFINITY_UNABLE2ACCESS      "Unable to Access or Set Process Affinity"
319 STRINGTABLE
320 BEGIN
321     IDS_SYSTEM_IDLE_PROCESS            "System Idle Process"
322     IDS_APPLICATION_NOT_RESPONDING     "Not Responding"
323     IDS_APPLICATION_RUNNING            "Running"
324     IDS_APPLICATION_TASK               "Task"
325     IDS_APPLICATION_STATUS             "Status"
326     IDS_DEBUG_CHANNEL                  "Debug Channels"
327     IDS_DEBUG_CHANNEL_FIXME            "Fixme"
328     IDS_DEBUG_CHANNEL_ERR              "Err"
329     IDS_DEBUG_CHANNEL_WARN             "Warn"
330     IDS_DEBUG_CHANNEL_TRACE            "Trace"
333 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
336  Icon
339 /* Icon with lowest ID value placed first to ensure application icon
340    remains consistent on all systems. */
341 /* @makedep: taskmgr.ico */
342 IDI_TASKMANAGER         ICON taskmgr.ico
344 /* @makedep: window.ico */
345 IDI_WINDOW              ICON window.ico
347 /* @makedep: windowsm.ico */
348 IDI_WINDOWSM            ICON windowsm.ico
351  Version
354 VS_VERSION_INFO VERSIONINFO
355  FILEVERSION 1,0,0,1
356  PRODUCTVERSION 1,0,0,1
357  FILEFLAGSMASK 0x3fL
358 #ifdef _DEBUG
359  FILEFLAGS 0x1L
360 #else
361  FILEFLAGS 0x0L
362 #endif
363  FILEOS 0x40004L
364  FILETYPE 0x1L
365  FILESUBTYPE 0x0L
366 BEGIN
367     BLOCK "StringFileInfo"
368     BEGIN
369         BLOCK "040904b0"
370         BEGIN
371             VALUE "CompanyName", "Brian Palmer\0"
372             VALUE "FileDescription", "Task Manager by Brian Palmer\0"
373             VALUE "FileVersion", "1.0.0.1\0"
374             VALUE "InternalName", "taskmgr\0"
375             VALUE "LegalCopyright", "Copyright © Brian Palmer 2000\0"
376             VALUE "OriginalFilename", "taskmgr.exe\0"
377             VALUE "ProductName", "Task Manager by Brian Palmer\0"
378             VALUE "ProductVersion", "1.0.0.1\0"
379         END
380     END
381     BLOCK "VarFileInfo"
382     BEGIN
383         VALUE "Translation", 0x409, 1200
384     END
388  Bitmap
391 /* @makedep: traymask.bmp */
392 IDB_TRAYMASK            BITMAP traymask.bmp
394 /* @makedep: trayicon.bmp */
395 IDB_TRAYICON            BITMAP trayicon.bmp
397 /* @makedep: font.bmp */
398 IDB_FONT                BITMAP font.bmp