Version resource added to the system utilities.

svn path=/trunk/; revision=1350
This commit is contained in:
Emanuele Aliberti 2000-09-11 20:17:02 +00:00
parent e7a0c9b4eb
commit 28d86222cd
11 changed files with 387 additions and 55 deletions

View file

@ -0,0 +1,39 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "ReactOS Disk Checking Utility\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "chkdsk\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalCopyright", "Mark Russinovich\0"
VALUE "OriginalFilename", "chkdsk.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View file

@ -0,0 +1,38 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "Tool to check a dynamic library for a symbol\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "chklib\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "chklib.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View file

@ -0,0 +1,39 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "ReactOS Disk Formatting Tool\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "format\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalCopyright", "Mark Russinovich\0"
VALUE "OriginalFilename", "format.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View file

@ -1,4 +1,4 @@
/* $Id: ldd.c,v 1.1 2000/08/04 21:49:31 ea Exp $
/* $Id: ldd.c,v 1.2 2000/09/11 20:17:02 ea Exp $
*
* FILE : ldd.c
* AUTHOR: Emanuele ALIBERTI
@ -10,6 +10,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <reactos/buildno.h>
#include "win32err.h"
#define LINKS_SIZE 32768
@ -51,8 +53,9 @@ int
main (int argc, char * argv [] )
{
printf (
"ReactOS W32 - List DOS Devices\n"
"ReactOS %s - List DOS Devices Utility\n"
"Written by E.Aliberti (%s)\n\n",
KERNEL_RELEASE_STR,
__DATE__
);

38
rosapps/sysutils/ldd.rc Normal file
View file

@ -0,0 +1,38 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "Tool to list the device names visible to the W32 subsystem (also known as DOS Devices).\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "ldd\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "ldd.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.5 2000/05/28 17:44:51 ea Exp $
# $Id: makefile,v 1.6 2000/09/11 20:17:02 ea Exp $
#
# ReactOS System Utilities
#
@ -18,6 +18,9 @@
# 2000-04-23 (ea)
# Added pedump.c
#
# 2000-08-4 (ea)
# Added ldd.c; removed login.c
#
BASE_CFLAGS = -I../../reactos/include
@ -34,32 +37,35 @@ IMPORT_CRTDLL=$(ROS_LIB)/crtdll/crtdll.a
TARGET=\
regnav.exe \
chklib.exe \
qsi.exe
# pedump.exe \
# shutdown.exe \
# chkdsk.exe \
# format.exe \
qsi.exe \
ldd.exe \
pedump.exe \
shutdown.exe \
chkdsk.exe \
format.exe
all: $(TARGET)
# By Mark Russinovich
chkdsk.exe: chkdsk.o win32err.o wmain.o
chkdsk.exe: chkdsk.o win32err.o wmain.o chkdsk.coff
$(CC) \
chkdsk.o \
win32err.o \
wmain.o \
chkdsk.coff \
$(IMPORT_FMIFS) \
$(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \
-o chkdsk.exe
$(NM) --numeric-sort chkdsk.exe > chkdsk.sym
format.exe: format.o win32err.o wmain.o
format.exe: format.o win32err.o wmain.o format.coff
$(CC) \
format.o \
win32err.o \
wmain.o \
format.coff \
$(IMPORT_FMIFS) \
$(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \
@ -68,20 +74,22 @@ format.exe: format.o win32err.o wmain.o
#---
chklib.exe: chklib.o win32err.o
chklib.exe: chklib.o win32err.o chklib.coff
$(CC) \
chklib.o \
win32err.o \
chklib.coff \
$(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \
-o chklib.exe
$(NM) --numeric-sort chklib.exe > chklib.sym
regnav.exe: regnav.o win32err.o
regnav.exe: regnav.o win32err.o regnav.coff
$(CC) \
regnav.o \
win32err.o \
regnav.coff \
$(IMPORT_KERNEL32) \
$(IMPORT_ADVAPI32) \
$(IMPORT_CRTDLL) \
@ -89,19 +97,21 @@ regnav.exe: regnav.o win32err.o
$(NM) --numeric-sort regnav.exe > regnav.sym
shutdown.exe: shutdown.o win32err.o
shutdown.exe: shutdown.o win32err.o shutdown.coff
$(CC) \
shutdown.o \
win32err.o \
shutdown.coff \
$(IMPORT_KERNEL32) \
$(IMPORT_USER32) \
$(IMPORT_CRTDLL) \
-o shutdown.exe
$(NM) --numeric-sort shutdown.exe > shutdown.sym
qsi.exe: qsi.o
qsi.exe: qsi.o qsi.coff
$(CC) \
qsi.o \
qsi.coff \
$(IMPORT_NTDLL) \
$(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \
@ -110,9 +120,10 @@ qsi.exe: qsi.o
qsi.o: qsi.c $(ROS_INC)/ddk/zwtypes.h
pedump.exe: pedump.o
pedump.exe: pedump.o pedump.coff
$(CC) \
pedump.o \
pedump.coff \
$(IMPORT_NTDLL) \
$(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \
@ -121,6 +132,18 @@ pedump.exe: pedump.o
pedump.o: pedump.c
ldd.exe: ldd.o win32err.o ldd.coff
$(CC) \
ldd.o \
win32err.o \
ldd.coff \
$(IMPORT_KERNEL32) \
$(IMPORT_CRTDLL) \
-o ldd.exe
$(NM) --numeric-sort ldd.exe > ldd.sym
ldd.o: ldd.c
#---
CLEAN_FILES = *.o *.exe *.sym

View file

@ -0,0 +1,38 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "Tool to dump a PE image file.\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "pedump\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "pedump.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

38
rosapps/sysutils/qsi.rc Normal file
View file

@ -0,0 +1,38 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "Tool to query ReactOS system information.\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "qsi\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "qsi.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View file

@ -1,8 +1,8 @@
/* $Id: regnav.c,v 1.3 2000/05/28 17:44:53 ea Exp $
/* $Id: regnav.c,v 1.4 2000/09/11 20:17:02 ea Exp $
*
* regnav.c
*
* Copyright (c) 1998, 1999 Emanuele Aliberti
* Copyright (c) 1998-2000 Emanuele Aliberti
*
* --------------------------------------------------------------------
*
@ -46,7 +46,7 @@ LPCTSTR STR_HKEY_PERFORMANCE_DATA = _TEXT("HKEY_PERFORMANCE_DATA");
LPTSTR app_name = _TEXT("regnav");
LPCTSTR app_ver = _TEXT("1.0.4");
LPCTSTR app_ver = _TEXT("1.0.5");
HANDLE CurrentWorkingKey = INVALID_HANDLE_VALUE; /* \ */
TCHAR CurrentPath [CURRENT_PATH_SIZE] = _TEXT("\\");
BOOL Done = FALSE;
@ -510,7 +510,7 @@ CMDPROTO(cmd_ver)
_TEXT("\
%s version %s (compiled on %s, at %s)\n\
ReactOS Console Registry Navigator\n\
Copyright (c) 1998, 1999 Emanuele Aliberti\n\n"),
Copyright (c) 1998-2000 Emanuele Aliberti\n\n"),
app_name,
app_ver,
_TEXT(__DATE__),

View file

@ -0,0 +1,38 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "ReactOS Registry Navigation Console Tool\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "regnav\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "regnav.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View file

@ -0,0 +1,38 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "ReactOS Shutdown Utility\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "shutdown\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "shutdown.exe\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END