Author: rnaumann
Date: Fri Mar 25 23:54:55 2016
New Revision: 71048

URL: http://svn.reactos.org/svn/reactos?rev=71048&view=rev
Log:
[IERNONCE] Add resources, update file header, remove unneeded includes CORE-7194

Added:
    trunk/reactos/dll/win32/iernonce/iernonce.rc   (with props)
    trunk/reactos/dll/win32/iernonce/lang/
    trunk/reactos/dll/win32/iernonce/lang/en-US.rc   (with props)
    trunk/reactos/dll/win32/iernonce/res/
    trunk/reactos/dll/win32/iernonce/res/setup.ico   (with props)
    trunk/reactos/dll/win32/iernonce/resource.h   (with props)
Modified:
    trunk/reactos/dll/win32/iernonce/CMakeLists.txt
    trunk/reactos/dll/win32/iernonce/iernonce.c

Modified: trunk/reactos/dll/win32/iernonce/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/CMakeLists.txt?rev=71048&r1=71047&r2=71048&view=diff
==============================================================================
--- trunk/reactos/dll/win32/iernonce/CMakeLists.txt     [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iernonce/CMakeLists.txt     [iso-8859-1] Fri Mar 25 
23:54:55 2016
@@ -3,6 +3,7 @@
 
 add_library(iernonce SHARED
     iernonce.c
+    iernonce.rc
     ${CMAKE_CURRENT_BINARY_DIR}/iernonce.def)
 
 set_module_type(iernonce win32dll UNICODE)

Modified: trunk/reactos/dll/win32/iernonce/iernonce.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/iernonce.c?rev=71048&r1=71047&r2=71048&view=diff
==============================================================================
--- trunk/reactos/dll/win32/iernonce/iernonce.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iernonce/iernonce.c [iso-8859-1] Fri Mar 25 
23:54:55 2016
@@ -2,18 +2,14 @@
  * PROJECT:     ReactOS system libraries
  * LICENSE:     GPL - See COPYING in the top level directory
  * FILE:        dll\win32\iernonce\iernonce.c
- * PURPOSE:     DLL for RunOnceEx Keys
- * PROGRAMMERS: Copyright 2013 Robert Naumann
+ * PURPOSE:     ReactOS Extended RunOnce processing with UI
+ * PROGRAMMERS: Copyright 2013-2016 Robert Naumann
  */
 
 
 #define WIN32_NO_STATUS
-#include <stdarg.h>
 #include <windef.h>
 #include <winbase.h>
-#include <winreg.h>
-#include <winuser.h>
-#include <setupapi.h>
 
 #define NDEBUG
 #include <debug.h>

Added: trunk/reactos/dll/win32/iernonce/iernonce.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/iernonce.rc?rev=71048
==============================================================================
--- trunk/reactos/dll/win32/iernonce/iernonce.rc        (added)
+++ trunk/reactos/dll/win32/iernonce/iernonce.rc        [iso-8859-1] Fri Mar 25 
23:54:55 2016
@@ -0,0 +1,19 @@
+#include <windef.h>
+#include <winuser.h>
+
+#include "resource.h"
+
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION  "ReactOS Extended RunOnce processing 
with UI"
+#define REACTOS_STR_INTERNAL_NAME     "iernonce"
+#define REACTOS_STR_ORIGINAL_FILENAME "iernonce.dll"
+#include <reactos/version.rc>
+
+IDI_ICON ICON "res/setup.ico"
+
+/* UTF-8 */
+#pragma code_page(65001)
+
+#ifdef LANGUAGE_EN_US
+    #include "lang/en-US.rc"
+#endif

Propchange: trunk/reactos/dll/win32/iernonce/iernonce.rc
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/dll/win32/iernonce/lang/en-US.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/lang/en-US.rc?rev=71048
==============================================================================
--- trunk/reactos/dll/win32/iernonce/lang/en-US.rc      (added)
+++ trunk/reactos/dll/win32/iernonce/lang/en-US.rc      [iso-8859-1] Fri Mar 25 
23:54:55 2016
@@ -0,0 +1,27 @@
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+STRINGTABLE
+BEGIN
+    IDS_INVALIDFORMAT "The format of the %1 RunEx or RunOnceEx entry was 
invalid. A vertical bar ('|') is needed after the function name and the 
function needs to support WinMain() parameters."
+    IDS_LOADERROR "An error occurred loading %1. The file may not have been 
installed or it has been corrupted."
+    IDS_CALLERROR "An error or exception occurred while calling the function 
%1 in %2."
+    IDS_INCORRECTFORMAT "The format of the following RunEx or RunOnceEx 
command is incorrect: %1. The shell execute command must start with ||."
+    IDS_NOEXPORT "Unable to call the function %1 in the file %2 because that 
function does not exist or is not exported."
+    IDS_EXECUTEERROR "An error or exception occurred while executing %1."
+    IDS_NOFUNCTION "Unable to find the function %1 in the file %2."
+    IDS_NODEPENDENCY "Unable to load the dependency file %1."
+    IDS_SETUPERROR "An error has occurred while setting up %1. This error has 
been logged, the installation will continue"
+    IDS_INCOMPLETE "The previous installation of an application has not been 
completed.\n\nLogon with an Administrator account to complete the installation."
+    IDS_SETUP "ReactOS Setup"
+    IDS_SERVICEERROR "Some services could not be started. Setup needs to 
restart your system in order to start the services."
+END
+
+IDD_DIALOG DIALOGEX 0, 0, 206, 166
+STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION
+CAPTION "ReactOS Setup"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "ReactOS is now setting up the following items:", -1, 36, 13, 163, 11
+    LISTBOX IDC_LB_ITEMS, 36, 32, 163, 127, LBS_NOTIFY | LBS_OWNERDRAWVARIABLE 
| LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | WS_CHILD | WS_VISIBLE | WS_DISABLED | 
WS_VSCROLL | WS_TABSTOP
+    ICON IDI_ICON, -1, 7, 7, 20, 20
+END

Propchange: trunk/reactos/dll/win32/iernonce/lang/en-US.rc
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/dll/win32/iernonce/res/setup.ico
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/res/setup.ico?rev=71048
==============================================================================
Binary file - no diff available.

Propchange: trunk/reactos/dll/win32/iernonce/res/setup.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: trunk/reactos/dll/win32/iernonce/resource.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/resource.h?rev=71048
==============================================================================
--- trunk/reactos/dll/win32/iernonce/resource.h (added)
+++ trunk/reactos/dll/win32/iernonce/resource.h [iso-8859-1] Fri Mar 25 
23:54:55 2016
@@ -0,0 +1,20 @@
+#pragma once
+
+#define IDI_ICON 1
+
+#define IDD_DIALOG 1999
+
+#define IDC_LB_ITEMS 2009
+
+#define IDS_INVALIDFORMAT 100
+#define IDS_LOADERROR 101
+#define IDS_CALLERROR 102
+#define IDS_INCORRECTFORMAT 103
+#define IDS_NOEXPORT 104
+#define IDS_EXECUTEERROR 105
+#define IDS_NOFUNCTION 106
+#define IDS_NODEPENDENCY 107
+#define IDS_SETUPERROR 108
+#define IDS_INCOMPLETE 109
+#define IDS_SETUP 110
+#define IDS_SERVICEERROR 111

Propchange: trunk/reactos/dll/win32/iernonce/resource.h
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to