Author: akhaldi
Date: Sat May 18 14:41:18 2013
New Revision: 59035
URL:
http://svn.reactos.org/svn/reactos?rev=59035&view=rev
Log:
[IERNONCE]
* Add to trunk, with a stubbed RunonceEx. Brought to you by Robert Naumann.
CORE-7194 #resolve #comment Committed in r59035. Cheers ;)
Added:
trunk/reactos/dll/win32/iernonce/
trunk/reactos/dll/win32/iernonce/CMakeLists.txt (with props)
trunk/reactos/dll/win32/iernonce/iernonce.c (with props)
trunk/reactos/dll/win32/iernonce/iernonce.spec (with props)
Modified:
trunk/reactos/dll/win32/CMakeLists.txt
Modified: trunk/reactos/dll/win32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/dll/win32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/CMakeLists.txt [iso-8859-1] Sat May 18 14:41:18 2013
@@ -50,6 +50,7 @@
add_subdirectory(iccvid)
add_subdirectory(icmp)
add_subdirectory(ieframe)
+add_subdirectory(iernonce)
add_subdirectory(imaadp32.acm)
add_subdirectory(imagehlp)
add_subdirectory(imm32)
Added: trunk/reactos/dll/win32/iernonce/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/iernonce/CMakeLists.txt (added)
+++ trunk/reactos/dll/win32/iernonce/CMakeLists.txt [iso-8859-1] Sat May 18 14:41:18 2013
@@ -0,0 +1,10 @@
+
+spec2def(iernonce.dll iernonce.spec)
+
+add_library(iernonce SHARED
+ iernonce.c
+ ${CMAKE_CURRENT_BINARY_DIR}/iernonce.def)
+
+set_module_type(iernonce win32dll UNICODE)
+add_importlibs(iernonce msvcrt kernel32 ntdll)
+add_cd_file(TARGET iernonce DESTINATION reactos/system32 FOR all)
Propchange: trunk/reactos/dll/win32/iernonce/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/iernonce/iernonce.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/iernonc…
==============================================================================
--- trunk/reactos/dll/win32/iernonce/iernonce.c (added)
+++ trunk/reactos/dll/win32/iernonce/iernonce.c [iso-8859-1] Sat May 18 14:41:18 2013
@@ -0,0 +1,44 @@
+/*
+ * 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
+ */
+
+
+#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>
+
+HINSTANCE hInstance;
+
+BOOL
+WINAPI
+DllMain(HINSTANCE hinstDLL,
+ DWORD dwReason,
+ LPVOID reserved)
+{
+ switch (dwReason)
+ {
+ case DLL_PROCESS_ATTACH:
+ break;
+ case DLL_PROCESS_DETACH:
+ hInstance = hinstDLL;
+ break;
+ }
+
+ return TRUE;
+}
+
+VOID WINAPI RunOnceExProcess(HWND hwnd, HINSTANCE hInst, LPCSTR path, int nShow)
+{
+ DPRINT1("RunOnceExProcess() not implemented\n");
+}
Propchange: trunk/reactos/dll/win32/iernonce/iernonce.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/iernonce/iernonce.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iernonce/iernonc…
==============================================================================
--- trunk/reactos/dll/win32/iernonce/iernonce.spec (added)
+++ trunk/reactos/dll/win32/iernonce/iernonce.spec [iso-8859-1] Sat May 18 14:41:18 2013
@@ -0,0 +1 @@
+@ stdcall RunOnceExProcess(ptr ptr str long)
Propchange: trunk/reactos/dll/win32/iernonce/iernonce.spec
------------------------------------------------------------------------------
svn:eol-style = native