mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
349 lines
10 KiB
349 lines
10 KiB
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "afxres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
|
"\r\n"
|
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
|
|
"#ifdef _WIN32\r\n"
|
|
"LANGUAGE 9, 1\r\n"
|
|
"#pragma code_page(1252)\r\n"
|
|
"#endif\r\n"
|
|
"#include ""CpuStres.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
|
|
"#include ""afxres.rc"" // Standard components\r\n"
|
|
"#endif\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDR_MAINFRAME ICON DISCARDABLE "CpuStres.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 55
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About CpuStres"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
|
|
LTEXT "CpuStres Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
|
|
LTEXT "Copyright © 1996",IDC_STATIC,40,25,119,8
|
|
DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
|
|
END
|
|
|
|
IDD_CPU_STRESS_DIALOG DIALOGEX 0, 0, 203, 247
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
CAPTION "CPU Stress"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Thread 1",IDC_STATIC,7,45,189,45
|
|
CONTROL "Active",IDC_1_ACTIVE,"Button",BS_AUTOCHECKBOX |
|
|
WS_TABSTOP,14,55,40,10
|
|
LTEXT "Thread Priority:",IDC_STATIC,60,56,50,8
|
|
COMBOBOX IDC_1_PRIORITY,109,54,72,72,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Activity:",IDC_STATIC,60,75,38,8
|
|
COMBOBOX IDC_1_ACTIVITY,109,73,72,45,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Thread 2",IDC_STATIC,7,95,189,45
|
|
CONTROL "Active",IDC_2_ACTIVE,"Button",BS_AUTOCHECKBOX |
|
|
WS_TABSTOP,14,105,40,10
|
|
COMBOBOX IDC_2_PRIORITY,109,104,72,72,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_2_ACTIVITY,109,123,72,45,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Thread 3",IDC_STATIC,7,145,189,45
|
|
CONTROL "Active",IDC_3_ACTIVE,"Button",BS_AUTOCHECKBOX |
|
|
WS_TABSTOP,14,155,40,10
|
|
COMBOBOX IDC_3_PRIORITY,109,154,72,72,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_3_ACTIVITY,109,174,72,45,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Thread 4",IDC_STATIC,7,195,189,45
|
|
CONTROL "Active",IDC_4_ACTIVE,"Button",BS_AUTOCHECKBOX |
|
|
WS_TABSTOP,14,205,40,10
|
|
COMBOBOX IDC_4_PRIORITY,109,204,72,72,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_4_ACTIVITY,109,223,72,45,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Process Priority Class:",IDC_STATIC,14,9,69,8
|
|
COMBOBOX IDC_PROCESS_PRIORITY,109,7,72,38,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Thread Priority:",IDC_STATIC,60,105,50,8
|
|
LTEXT "Activity:",IDC_STATIC,60,124,38,8
|
|
LTEXT "Thread Priority:",IDC_STATIC,60,156,50,8
|
|
LTEXT "Activity:",IDC_STATIC,60,178,38,8
|
|
LTEXT "Thread Priority:",IDC_STATIC,60,206,50,8
|
|
LTEXT "Activity:",IDC_STATIC,60,225,38,8
|
|
CONTROL "Access Shared Memory",IDC_USE_MEMORY,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,13,28,91,9
|
|
EDITTEXT IDC_SHARED_MEM_SIZE,109,26,33,14,ES_AUTOHSCROLL |
|
|
ES_NUMBER
|
|
LTEXT "K-Bytes",IDC_STATIC,145,29,31,10
|
|
END
|
|
|
|
|
|
#ifndef _MAC
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904B0"
|
|
BEGIN
|
|
VALUE "CompanyName", "\0"
|
|
VALUE "FileDescription", "CpuStrese MFC Application\0"
|
|
VALUE "FileVersion", "1, 0, 0, 1\0"
|
|
VALUE "InternalName", "CpuStrese\0"
|
|
VALUE "LegalCopyright", "Copyright (c) 1996\0"
|
|
VALUE "LegalTrademarks", "\0"
|
|
VALUE "OriginalFilename", "CpuStres.EXE\0"
|
|
VALUE "ProductName", "CpuStrese Application\0"
|
|
VALUE "ProductVersion", "1, 0, 0, 1\0"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
#endif // !_MAC
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_ABOUTBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 210
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 48
|
|
END
|
|
|
|
IDD_CPU_STRESS_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 196
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 240
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog Info
|
|
//
|
|
|
|
IDD_CPU_STRESS_DIALOG DLGINIT
|
|
BEGIN
|
|
IDC_1_PRIORITY, 0x403, 5, 0
|
|
0x6449, 0x656c, "\000"
|
|
IDC_1_PRIORITY, 0x403, 7, 0
|
|
0x6f4c, 0x6577, 0x7473, "\000"
|
|
IDC_1_PRIORITY, 0x403, 13, 0
|
|
0x6542, 0x6f6c, 0x2077, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_1_PRIORITY, 0x403, 7, 0
|
|
0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_1_PRIORITY, 0x403, 13, 0
|
|
0x6241, 0x766f, 0x2065, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_1_PRIORITY, 0x403, 8, 0
|
|
0x6948, 0x6867, 0x7365, 0x0074,
|
|
IDC_1_PRIORITY, 0x403, 14, 0
|
|
0x6954, 0x656d, 0x4320, 0x6972, 0x6974, 0x6163, 0x006c,
|
|
IDC_1_ACTIVITY, 0x403, 4, 0
|
|
0x6f4c, 0x0077,
|
|
IDC_1_ACTIVITY, 0x403, 7, 0
|
|
0x654d, 0x6964, 0x6d75, "\000"
|
|
IDC_1_ACTIVITY, 0x403, 5, 0
|
|
0x7542, 0x7973, "\000"
|
|
IDC_1_ACTIVITY, 0x403, 8, 0
|
|
0x614d, 0x6978, 0x756d, 0x006d,
|
|
IDC_2_PRIORITY, 0x403, 5, 0
|
|
0x6449, 0x656c, "\000"
|
|
IDC_2_PRIORITY, 0x403, 7, 0
|
|
0x6f4c, 0x6577, 0x7473, "\000"
|
|
IDC_2_PRIORITY, 0x403, 13, 0
|
|
0x6542, 0x6f6c, 0x2077, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_2_PRIORITY, 0x403, 7, 0
|
|
0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_2_PRIORITY, 0x403, 13, 0
|
|
0x6241, 0x766f, 0x2065, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_2_PRIORITY, 0x403, 8, 0
|
|
0x6948, 0x6867, 0x7365, 0x0074,
|
|
IDC_2_PRIORITY, 0x403, 14, 0
|
|
0x6954, 0x656d, 0x4320, 0x6972, 0x6974, 0x6163, 0x006c,
|
|
IDC_2_ACTIVITY, 0x403, 4, 0
|
|
0x6f4c, 0x0077,
|
|
IDC_2_ACTIVITY, 0x403, 7, 0
|
|
0x654d, 0x6964, 0x6d75, "\000"
|
|
IDC_2_ACTIVITY, 0x403, 5, 0
|
|
0x7542, 0x7973, "\000"
|
|
IDC_2_ACTIVITY, 0x403, 8, 0
|
|
0x614d, 0x6978, 0x756d, 0x006d,
|
|
IDC_3_PRIORITY, 0x403, 5, 0
|
|
0x6449, 0x656c, "\000"
|
|
IDC_3_PRIORITY, 0x403, 7, 0
|
|
0x6f4c, 0x6577, 0x7473, "\000"
|
|
IDC_3_PRIORITY, 0x403, 13, 0
|
|
0x6542, 0x6f6c, 0x2077, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_3_PRIORITY, 0x403, 7, 0
|
|
0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_3_PRIORITY, 0x403, 13, 0
|
|
0x6241, 0x766f, 0x2065, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_3_PRIORITY, 0x403, 8, 0
|
|
0x6948, 0x6867, 0x7365, 0x0074,
|
|
IDC_3_PRIORITY, 0x403, 14, 0
|
|
0x6954, 0x656d, 0x4320, 0x6972, 0x6974, 0x6163, 0x006c,
|
|
IDC_3_ACTIVITY, 0x403, 4, 0
|
|
0x6f4c, 0x0077,
|
|
IDC_3_ACTIVITY, 0x403, 7, 0
|
|
0x654d, 0x6964, 0x6d75, "\000"
|
|
IDC_3_ACTIVITY, 0x403, 5, 0
|
|
0x7542, 0x7973, "\000"
|
|
IDC_3_ACTIVITY, 0x403, 8, 0
|
|
0x614d, 0x6978, 0x756d, 0x006d,
|
|
IDC_4_PRIORITY, 0x403, 5, 0
|
|
0x6449, 0x656c, "\000"
|
|
IDC_4_PRIORITY, 0x403, 7, 0
|
|
0x6f4c, 0x6577, 0x7473, "\000"
|
|
IDC_4_PRIORITY, 0x403, 13, 0
|
|
0x6542, 0x6f6c, 0x2077, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_4_PRIORITY, 0x403, 7, 0
|
|
0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_4_PRIORITY, 0x403, 13, 0
|
|
0x6241, 0x766f, 0x2065, 0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_4_PRIORITY, 0x403, 8, 0
|
|
0x6948, 0x6867, 0x7365, 0x0074,
|
|
IDC_4_PRIORITY, 0x403, 14, 0
|
|
0x6954, 0x656d, 0x4320, 0x6972, 0x6974, 0x6163, 0x006c,
|
|
IDC_4_ACTIVITY, 0x403, 4, 0
|
|
0x6f4c, 0x0077,
|
|
IDC_4_ACTIVITY, 0x403, 7, 0
|
|
0x654d, 0x6964, 0x6d75, "\000"
|
|
IDC_4_ACTIVITY, 0x403, 5, 0
|
|
0x7542, 0x7973, "\000"
|
|
IDC_4_ACTIVITY, 0x403, 8, 0
|
|
0x614d, 0x6978, 0x756d, 0x006d,
|
|
IDC_PROCESS_PRIORITY, 0x403, 5, 0
|
|
0x6449, 0x656c, "\000"
|
|
IDC_PROCESS_PRIORITY, 0x403, 7, 0
|
|
0x6f4e, 0x6d72, 0x6c61, "\000"
|
|
IDC_PROCESS_PRIORITY, 0x403, 5, 0
|
|
0x6948, 0x6867, "\000"
|
|
0
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_ABOUTBOX "&About CpuStrese..."
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#define _AFX_NO_SPLITTER_RESOURCES
|
|
#define _AFX_NO_OLE_RESOURCES
|
|
#define _AFX_NO_TRACKER_RESOURCES
|
|
#define _AFX_NO_PROPERTY_RESOURCES
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE 9, 1
|
|
#pragma code_page(1252)
|
|
#endif
|
|
#include "CpuStres.rc2" // non-Microsoft Visual C++ edited resources
|
|
#include "afxres.rc" // Standard components
|
|
#endif
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|