Carlo Bramini (carlo DOT bramix AT libero DOT it):

- Implemented "regedt32", which just calls "regedit"
See issue #3248 for more details.

svn path=/trunk/; revision=33541
This commit is contained in:
Colin Finck 2008-05-16 16:53:36 +00:00
parent f4de98290f
commit 2b6a8f06f5
6 changed files with 60 additions and 3 deletions

View file

@ -26,9 +26,9 @@
<xi:include href="hh/hh.rbuild" />
</directory>
<!--
<directory name="iexplore">
<xi:include href="iexplore/iexplore.rbuild" />
</directory>
<directory name="iexplore">
<xi:include href="iexplore/iexplore.rbuild" />
</directory>
-->
<directory name="kbswitch">
<xi:include href="kbswitch/kbswitch.rbuild" />
@ -54,6 +54,9 @@
<directory name="regedit">
<xi:include href="regedit/regedit.rbuild" />
</directory>
<directory name="regedt32">
<xi:include href="regedt32/regedt32.rbuild" />
</directory>
<directory name="sc">
<xi:include href="sc/sc.rbuild" />
</directory>

View file

@ -0,0 +1,11 @@
#include <windows.h>
#include <tchar.h>
#include <shellapi.h>
int WINAPI _tWinMain(HINSTANCE hCurInst, HINSTANCE hPrevInst,
LPTSTR lpsCmdLine, int nCmdShow)
{
ShellExecute(NULL, NULL, _T("regedit.exe"), lpsCmdLine, NULL, nCmdShow);
return 0;
}

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="regedt32" type="win32gui" installbase="system32" installname="regedt32.exe" unicode="yes">
<include base="regedt32">.</include>
<library>kernel32</library>
<library>shell32</library>
<file>regedt32.c</file>
<file>resource.rc</file>
</module>

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -0,0 +1 @@
#define IDI_REGEDIT 101

View file

@ -0,0 +1,33 @@
/*
* Regedit-32 resources
*
* Copyright 2008 Carlo Bramini
*
* This program 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 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <windows.h>
#include "resource.h"
// Common resources
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Registry Explorer\0"
#define REACTOS_STR_INTERNAL_NAME "regedt32\0"
#define REACTOS_STR_ORIGINAL_FILENAME "regedt32.exe\0"
#include <reactos/version.rc>
IDI_REGEDIT ICON DISCARDABLE res/regedt32.ico