Author: cwittich
Date: Mon Feb 9 07:47:47 2009
New Revision: 39513
URL:
http://svn.reactos.org/svn/reactos?rev=39513&view=rev
Log:
add srclient.dll
Added:
trunk/reactos/dll/win32/srclient/ (with props)
trunk/reactos/dll/win32/srclient/srclient.rbuild (with props)
trunk/reactos/dll/win32/srclient/srclient.spec (with props)
trunk/reactos/dll/win32/srclient/srclient_main.c (with props)
Modified:
trunk/reactos/baseaddress.rbuild
trunk/reactos/boot/bootdata/packages/reactos.dff
trunk/reactos/dll/win32/win32.rbuild
Modified: trunk/reactos/baseaddress.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/baseaddress.rbuild?rev=395…
==============================================================================
--- trunk/reactos/baseaddress.rbuild [iso-8859-1] (original)
+++ trunk/reactos/baseaddress.rbuild [iso-8859-1] Mon Feb 9 07:47:47 2009
@@ -12,6 +12,7 @@
<property name="BASEADDRESS_DWMAPI" value="0x4A3F0000" />
<property name="BASEADDRESS_LOADPERF" value="0x4B920000" />
<property name="BASEADDRESS_MPRAPI" value="0x4C400000" />
+ <property name="BASEADDRESS_SRCLIENT" value="0x512C0000" />
<property name="BASEADDRESS_PSTOREC" value="0x513D0000" />
<property name="BASEADDRESS_LPK" value="0x516C0000" />
<property name="BASEADDRESS_TELEPHON" value="0x58750000" />
Modified: trunk/reactos/boot/bootdata/packages/reactos.dff
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/packages/rea…
==============================================================================
--- trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] Mon Feb 9 07:47:47
2009
@@ -366,6 +366,7 @@
dll\win32\smdll\smdll.dll 1
dll\win32\snmpapi\snmpapi.dll 1
dll\win32\spoolss\spoolss.dll 1
+dll\win32\srclient\srclient.dll 1
dll\win32\stdole2.tlb\stdole2.tlb 1
dll\win32\stdole32.tlb\stdole32.tlb 1
dll\win32\sxs\sxs.dll 1
Propchange: trunk/reactos/dll/win32/srclient/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Mon Feb 9 07:47:47 2009
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)
Propchange: trunk/reactos/dll/win32/srclient/
------------------------------------------------------------------------------
bugtraq:message = See issue #%BUGID% for more details.
Propchange: trunk/reactos/dll/win32/srclient/
------------------------------------------------------------------------------
bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: trunk/reactos/dll/win32/srclient/
------------------------------------------------------------------------------
tsvn:logminsize = 10
Added: trunk/reactos/dll/win32/srclient/srclient.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/srclient/srclien…
==============================================================================
--- trunk/reactos/dll/win32/srclient/srclient.rbuild (added)
+++ trunk/reactos/dll/win32/srclient/srclient.rbuild [iso-8859-1] Mon Feb 9 07:47:47
2009
@@ -1,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
+<module name="srclient" type="win32dll"
baseaddress="${BASEADDRESS_SRCLIENT}" installbase="system32"
entrypoint="0" installname="srclient.dll"
allowwarnings="true">
+ <importlibrary definition="srclient.spec" />
+ <include base="srclient">.</include>
+ <library>ntdll</library>
+ <library>kernel32</library>
+ <file>srclient_main.c</file>
+</module>
Propchange: trunk/reactos/dll/win32/srclient/srclient.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/srclient/srclient.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/srclient/srclien…
==============================================================================
--- trunk/reactos/dll/win32/srclient/srclient.spec (added)
+++ trunk/reactos/dll/win32/srclient/srclient.spec [iso-8859-1] Mon Feb 9 07:47:47 2009
@@ -1,0 +1,10 @@
+@ stub DisableSR
+@ stub DisableSRInternal
+@ stub EnableSR
+@ stub EnableSREx
+@ stub EnableSRInternal
+@ stdcall SRRemoveRestorePoint (long)
+@ stdcall SRSetRestorePointA (ptr ptr)
+@ stub SRSetRestorePointInternal
+@ stdcall SRSetRestorePointW (ptr ptr)
+@ stub SetSRStateAfterSetup
Propchange: trunk/reactos/dll/win32/srclient/srclient.spec
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/dll/win32/srclient/srclient_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/srclient/srclien…
==============================================================================
--- trunk/reactos/dll/win32/srclient/srclient_main.c (added)
+++ trunk/reactos/dll/win32/srclient/srclient_main.c [iso-8859-1] Mon Feb 9 07:47:47
2009
@@ -1,0 +1,73 @@
+/*
+ * Copyright 2009 Christoph von Wittich
+ *
+ * This library 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.1 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <windef.h>
+#include <winbase.h>
+#include <winnls.h>
+#include <srrestoreptapi.h>
+
+#define NDEBUG
+#include <debug.h>
+
+BOOL
+WINAPI
+SRSetRestorePointA(PRESTOREPOINTINFOA pRestorePtSpec, PSTATEMGRSTATUS pStateMgrStatus)
+{
+ RESTOREPOINTINFOW RPInfoW;
+
+ DPRINT1("SRSetRestorePointA is unimplemented\n");
+
+ if (!pRestorePtSpec || !pRestorePtSpec->szDescription)
+ return FALSE;
+
+ RPInfoW.dwEventType = pRestorePtSpec->dwEventType;
+ RPInfoW.dwRestorePtType = pRestorePtSpec->dwRestorePtType;
+ RPInfoW.llSequenceNumber = pRestorePtSpec->llSequenceNumber;
+
+ if (!MultiByteToWideChar( CP_ACP, 0, pRestorePtSpec->szDescription, -1,
RPInfoW.szDescription, MAX_DESC_W))
+ return FALSE;
+
+ return SRSetRestorePointW(&RPInfoW, pStateMgrStatus);
+}
+
+
+BOOL
+WINAPI
+SRSetRestorePointW(PRESTOREPOINTINFOW pRestorePtSpec, PSTATEMGRSTATUS pStateMgrStatus)
+{
+
+ DPRINT1("SRSetRestorePointW is unimplemented\n");
+
+ if (!pStateMgrStatus)
+ return FALSE;
+
+ memset(pStateMgrStatus, 0, sizeof(STATEMGRSTATUS));
+ pStateMgrStatus->nStatus = ERROR_SERVICE_DISABLED;
+
+ return FALSE;
+}
+
+
+DWORD
+WINAPI
+SRRemoveRestorePoint(DWORD dwNumber)
+{
+ DPRINT1("SRRemoveRestorePoint is unimplemented\n");
+ return ERROR_SUCCESS;
+}
+
Propchange: trunk/reactos/dll/win32/srclient/srclient_main.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/win32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/win32.rbuild?rev…
==============================================================================
--- trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] Mon Feb 9 07:47:47 2009
@@ -397,6 +397,9 @@
<directory name="spoolss">
<xi:include href="spoolss/spoolss.rbuild" />
</directory>
+<directory name="srclient">
+ <xi:include href="srclient/srclient.rbuild" />
+</directory>
<directory name="stdole2.tlb">
<xi:include href="stdole2.tlb/stdole2.rbuild" />
</directory>