Author: greatlrd
Date: Sat Mar 31 00:04:05 2007
New Revision: 26213
URL:
http://svn.reactos.org/svn/reactos?rev=26213&view=rev
Log:
more compatible fix betwin reactos ddk and ms DDK version 3790.1830
Added:
trunk/reactos/include/ddk/unknown.h (with props)
trunk/reactos/include/ddk/xmldsodid.h (with props)
Added: trunk/reactos/include/ddk/unknown.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/unknown.h?rev=…
==============================================================================
--- trunk/reactos/include/ddk/unknown.h (added)
+++ trunk/reactos/include/ddk/unknown.h Sat Mar 31 00:04:05 2007
@@ -1,0 +1,55 @@
+#ifndef _UNKNOWN_H_
+#define _UNKNOWN_H_
+
+#ifdef __cplusplus
+extern "C" {
+#include <wdm.h>
+}
+#else
+#include <wdm.h>
+#endif
+
+#include <windef.h>
+#define COM_NO_WINDOWS_H
+#include <basetyps.h>
+#ifdef PUT_GUIDS_HERE
+#include <initguid.h>
+#endif
+
+DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x46);
+#if defined(__cplusplus) && _MSC_VER >= 1100
+ struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown;
+#endif
+
+#undef INTERFACE
+#define INTERFACE IUnknown
+DECLARE_INTERFACE(IUnknown)
+{
+ STDMETHOD(QueryInterface)
+ ( THIS_
+ IN REFIID,
+ OUT PVOID *
+ ) PURE;
+
+ STDMETHOD_(ULONG,AddRef)
+ ( THIS
+ ) PURE;
+
+ STDMETHOD_(ULONG,Release)
+ ( THIS
+ ) PURE;
+};
+#undef INTERFACE
+
+typedef IUnknown *PUNKNOWN;
+typedef
+HRESULT
+(*PFNCREATEINSTANCE)
+(
+ OUT PUNKNOWN * Unknown,
+ IN REFCLSID ClassId,
+ IN PUNKNOWN OuterUnknown,
+ IN POOL_TYPE PoolType
+);
+#endif
+
Propchange: trunk/reactos/include/ddk/unknown.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/ddk/xmldsodid.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/xmldsodid.h?re…
==============================================================================
--- trunk/reactos/include/ddk/xmldsodid.h (added)
+++ trunk/reactos/include/ddk/xmldsodid.h Sat Mar 31 00:04:05 2007
@@ -1,0 +1,10 @@
+
+#ifndef __XMLDSODID_H__
+#define __XMLDSODID_H__
+#define DISPID_XOBJ_MIN 0x00010000
+#define DISPID_XOBJ_MAX 0x0001FFFF
+#define DISPID_XOBJ_BASE DISPID_XOBJ_MIN
+#define DISPID_XMLDSO DISPID_XOBJ_BASE
+#define DISPID_XMLDSO_DOCUMENT DISPID_XMLDSO + 1
+#define DISPID_XMLDSO_JAVADSOCOMPATIBLE DISPID_XMLDSO_DOCUMENT + 1
+#endif
Propchange: trunk/reactos/include/ddk/xmldsodid.h
------------------------------------------------------------------------------
svn:eol-style = native