From 9aae27bf4a06abd3fdf319cfc101b89deb6409d3 Mon Sep 17 00:00:00 2001 From: Rafal Harabien Date: Thu, 5 Jan 2012 17:59:19 +0000 Subject: [PATCH] [NOTEPAD][WORDPAD] - Add version information [BOOTDATA] - Add Notepad, Wordpad and Paint to Applications registry key svn path=/trunk/; revision=54842 --- reactos/base/applications/mspaint/rsrc.rc | 6 ++++++ reactos/base/applications/wordpad/rsrc.rc | 6 ++++++ reactos/boot/bootdata/hivecls_i386.inf | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/reactos/base/applications/mspaint/rsrc.rc b/reactos/base/applications/mspaint/rsrc.rc index 9f3b1391b3c..4af962ad7db 100644 --- a/reactos/base/applications/mspaint/rsrc.rc +++ b/reactos/base/applications/mspaint/rsrc.rc @@ -11,6 +11,12 @@ #include #include "definitions.h" +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Paint\0" +#define REACTOS_STR_INTERNAL_NAME "mspaint\0" +#define REACTOS_STR_ORIGINAL_FILENAME "mspaint.exe\0" + +#include + #include "icons.rc" // UTF-8 diff --git a/reactos/base/applications/wordpad/rsrc.rc b/reactos/base/applications/wordpad/rsrc.rc index cc5c61403a9..d9187a89390 100644 --- a/reactos/base/applications/wordpad/rsrc.rc +++ b/reactos/base/applications/wordpad/rsrc.rc @@ -19,6 +19,12 @@ #include "wordpad.h" +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS WordPad\0" +#define REACTOS_STR_INTERNAL_NAME "wordpad\0" +#define REACTOS_STR_ORIGINAL_FILENAME "wordpad.exe\0" + +#include + MAINACCELTABLE ACCELERATORS BEGIN "1", ID_BACK_1, VIRTKEY, CONTROL diff --git a/reactos/boot/bootdata/hivecls_i386.inf b/reactos/boot/bootdata/hivecls_i386.inf index 3e5da35510a..db2a2d2384c 100644 --- a/reactos/boot/bootdata/hivecls_i386.inf +++ b/reactos/boot/bootdata/hivecls_i386.inf @@ -316,6 +316,10 @@ HKCR,"NDS\Clsid","",0x00000002,"{323991f0-7bad-11cf-b03d-00aa006e0975}" HKCR,"WinNT\Clsid","",0x00000002,"{8b20cd60-0f29-11cf-abc4-02608c9e7553}" +; Applications +HKCR,"Applications\notepad.exe\shell\open\command","",0x00000002,"notepad.exe %1" +HKCR,"Applications\mspaint.exe\shell\open\command","",0x00000002,"mspaint.exe %1" +HKCR,"Applications\wordpad.exe\shell\open\command","",0x00000002,"wordpad.exe %1" ; For language support: