Skip to content

Instantly share code, notes, and snippets.

@katahiromz
Last active October 27, 2018 12:35
Show Gist options
  • Select an option

  • Save katahiromz/2cf117e2b6e1a32672e0150ac06951f5 to your computer and use it in GitHub Desktop.

Select an option

Save katahiromz/2cf117e2b6e1a32672e0150ac06951f5 to your computer and use it in GitHub Desktop.
eramntui.rc
//Microsoft Developer Studio generated resource script.
//
#include "ERAMNTUI.H"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Neutral resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
#ifdef _WIN32
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#pragma code_page(932)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON ICON DISCARDABLE "ERAMNTUI.ICO"
#endif // Neutral resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// 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
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SETUP DIALOG DISCARDABLE 0, 0, 189, 226
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ERAM for Windows NT/2000/XP"
FONT 9, "Lucida Console"
BEGIN
LTEXT "Drive(&D)",IDC_STATIC,5,10,58,8
COMBOBOX IDC_COMBO_DRIVE,65,10,23,175,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
LTEXT "Rootdir ent(&L)",IDC_STATIC,95,10,58,8
EDITTEXT IDC_EDIT_ROOTDIR,155,10,25,12,ES_AUTOHSCROLL
LTEXT "Alloc unit(&A)",IDC_STATIC,5,30,58,8
COMBOBOX IDC_COMBO_ALLOCUNIT,65,30,23,75,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
LTEXT "Media ID(&I)",IDC_STATIC,95,30,58,8
EDITTEXT IDC_EDIT_MEDIAID,155,30,25,12,ES_UPPERCASE |
ES_AUTOHSCROLL
LTEXT "Disk size(&S)",IDC_STATIC,5,50,55,10
EDITTEXT IDC_EDIT_PAGE,65,50,40,12,ES_AUTOHSCROLL
LTEXT "KB",IDC_STATIC,110,50,15,10
GROUPBOX " Memory source ",IDC_STATIC,5,70,175,65
CONTROL "OS:NonPaged pool(&N)",IDC_RADIO_NONPAGED,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,15,85,160,15
CONTROL "OS:PagedPool(&P)",IDC_RADIO_PAGED,"Button",
BS_AUTORADIOBUTTON,15,100,160,15
CONTROL "External(&E) need edit BOOT.INI",IDC_RADIO_EXTERNAL,
"Button",BS_AUTORADIOBUTTON,15,115,160,15
GROUPBOX " External ",IDC_STATIC_EXT,5,140,175,45,WS_GROUP
CONTROL "Start address",IDC_CHECK_EXTSTART,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,15,155,70,10
EDITTEXT IDC_EDIT_EXTSTART_MB,95,155,35,12,ES_RIGHT |
ES_UPPERCASE | ES_AUTOHSCROLL | ES_NUMBER
LTEXT "MB-",IDC_STATIC_EXTSTART_MB,135,157,35,10
CONTROL "Detect limit",IDC_CHECK_NOTSEARCHSKIP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,170,75,10
CONTROL "Report to OS",IDC_CHECK_REPORTUSAGE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,95,170,75,10
CONTROL "Local device",IDC_CHECK_LOCAL_DISK,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,15,190,70,10
CONTROL "Make TEMP dir",IDC_CHECK_MAKE_TEMP,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,95,190,85,10
DEFPUSHBUTTON "Ok",IDOK,75,205,30,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,110,205,30,15
PUSHBUTTON "Modify",IDC_UPDATE,145,205,30,15
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_SETUP, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 182
TOPMARGIN, 7
BOTTOMMARGIN, 219
END
END
#endif // APSTUDIO_INVOKED
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,20,0,0
PRODUCTVERSION 2,20,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "ERAM for Windows NT/2000/XP\0"
VALUE "CompanyName", "*Error15\0"
VALUE "FileDescription", "ERAM for Windows NT/2000/XP Applet\0"
VALUE "FileVersion", "2.20\0"
VALUE "InternalName", "ERAMNT.CPL\0"
VALUE "LegalCopyright", "Copyright (C) 1999-2004 *Error15\0"
VALUE "OriginalFilename", "ERAMNT.CPL\0"
VALUE "ProductName", "ERAM for Windows NT/2000/XP\0"
VALUE "ProductVersion", "2.20\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_ERR_OPEN_REG "Open registory key failed."
IDS_PROMPT_REBOOT "Reboot now?"
IDS_ERR_REBOOT "Reboot failed."
IDS_ERR_REG_MODIFY "Registory modify error."
IDS_WARN_DRV_USING "%c drive is already used."
IDS_WARN_LIMIT_SIZE "Limit size %dKB."
IDS_WARN_LIMIT_SIZE_THIS_UNIT "Limit size %dKB at this allocation unit."
IDS_PROMPT_ERAM_REMOVE "Uninstall ERAM start."
IDS_ERR_DETECT_OS "Detection OS failed."
IDS_PROMPT_BEFORE_DEVMGR "Please use device manager to remove ERAM."
IDS_ERR_NEED_REMOVE_PRIV "Remove failed. Need Administrators priv."
IDS_ERR_OPEN_ERAM "Open ERAM failed(%d)."
IDS_ERR_ERAM_REMOVE "Remove ERAM failed(%d)."
IDS_ERR_GET_SYSDIR "Get system directory failed(%d)."
IDS_ERR_REMOVE "Delete %s failed(%d)."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_ERR_LOAD_SETUPAPI "Load SETUPAPI.DLL failed(%d)."
IDS_ERR_GETPROC_SETUPAPI "GetProcAddress to SETUPAPI.DLL failed(%d)."
IDS_ERR_DRIVER_ENUM "Enum driver failed(%d)."
IDS_ERR_DRIVER_REMOVE "Remove driver failed(%d)."
IDS_INFO_FASTFAT_USAGE "usage:\n RUNDLL32 ERAMNT.CPL,StartupFastfat 0-4\n 1:System 4:Default"
IDS_ERR_NEED_CTRL_PRIV "Control failed. Need Administrators priv."
IDS_ERR_OPEN_SCM "Open SCM failed(%d)."
IDS_ERR_OPEN_FASTFAT "Open FASTFAT failed(%d)."
IDS_INFO_FASTFAT_ALREADY "FASTFAT startup is already %s."
IDS_ERR_FASTFAT_MODIFY "Modify FASTFAT failed(%d)."
IDS_INFO_FASTFAT_MODIFY "FASTFAT startup is set to %s."
IDS_INFO_DESC "Setting ERAM."
IDS_TAB_TITLE "Settings"
IDS_START_TYPE_0 "Boot"
IDS_START_TYPE_1 "System"
IDS_START_TYPE_2 "Auto"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_START_TYPE_3 "Demand"
IDS_START_TYPE_4 "Disabled"
IDS_WARN_LIMIT_MAX_SIZE "Address space overflow, Limit size %dKB."
IDS_WARN_LIMIT_ROOTDIR "Disk size too small, RootDir entry reset to default."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "ERAMNTUM.RC"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment