propsys: Stub for PSRegisterPropertySchema

Nikolay Sivov bunglehead at gmail.com
Tue Jan 27 15:45:34 CST 2009


Changelog:
    - Stub for PSRegisterPropertySchema. Required for IE8 RC1 installer.

>From 977201e43fd41bf288e501a750ccab596519949e Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Wed, 28 Jan 2009 00:42:12 +0300
Subject: Stub for PSRegisterPropertySchema

---
 dlls/propsys/Makefile.in  |    1 +
 dlls/propsys/propschema.c |   34 ++++++++++++++++++++++++++++++++++
 dlls/propsys/propsys.spec |    2 +-
 3 files changed, 36 insertions(+), 1 deletions(-)
 create mode 100644 dlls/propsys/propschema.c

diff --git a/dlls/propsys/Makefile.in b/dlls/propsys/Makefile.in
index 1563741..17a958a 100644
--- a/dlls/propsys/Makefile.in
+++ b/dlls/propsys/Makefile.in
@@ -6,6 +6,7 @@ MODULE    = propsys.dll
 IMPORTS   = kernel32
 
 C_SRCS = \
+	propschema.c \
 	propsys_main.c \
 	propvar.c
 
diff --git a/dlls/propsys/propschema.c b/dlls/propsys/propschema.c
new file mode 100644
index 0000000..fd61744
--- /dev/null
+++ b/dlls/propsys/propschema.c
@@ -0,0 +1,34 @@
+/*
+ * Property schema routines
+ *
+ * Copyright 2009 Nikolay Sivov
+ *
+ * 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 <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(propsys);
+
+HRESULT WINAPI PSRegisterPropertySchema(PCWSTR path)
+{
+    FIXME("stub\n");
+
+    return E_NOTIMPL;
+}
diff --git a/dlls/propsys/propsys.spec b/dlls/propsys/propsys.spec
index a2ae522..5fa0d96 100644
--- a/dlls/propsys/propsys.spec
+++ b/dlls/propsys/propsys.spec
@@ -89,7 +89,7 @@
 @ stub PSLookupPropertyHandlerCLSID
 @ stub PSPropertyKeyFromString
 @ stub PSRefreshPropertySchema
-@ stub PSRegisterPropertySchema
+@ stdcall PSRegisterPropertySchema(wstr)
 @ stub PSSetPropertyValue
 @ stub PSStringFromPropertyKey
 @ stub PSUnregisterPropertySchema
-- 
1.5.6.5






More information about the wine-patches mailing list