Author: dchapyshev
Date: Mon Apr  6 20:55:54 2009
New Revision: 40403

URL: http://svn.reactos.org/svn/reactos?rev=40403&view=rev
Log:
- Sync some headers with Wine
- Fix ddstream.idl

Added:
    trunk/reactos/include/psdk/perhist.idl   (with props)
Modified:
    trunk/reactos/include/dxsdk/amstream.idl
    trunk/reactos/include/dxsdk/ddstream.idl
    trunk/reactos/include/psdk/mscoree.idl
    trunk/reactos/include/psdk/msctf.idl
    trunk/reactos/include/psdk/psdk.rbuild

Modified: trunk/reactos/include/dxsdk/amstream.idl
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/amstream.idl?rev=40403&r1=40402&r2=40403&view=diff
==============================================================================
--- trunk/reactos/include/dxsdk/amstream.idl [iso-8859-1] (original)
+++ trunk/reactos/include/dxsdk/amstream.idl [iso-8859-1] Mon Apr  6 20:55:54 
2009
@@ -317,3 +317,4 @@
 cpp_quote("DEFINE_GUID(CLSID_AMAudioStream,       0x8496e040, 0xaf4c, 0x11d0, 
0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);")
 cpp_quote("DEFINE_GUID(CLSID_AMAudioData,         0xf2468580, 0xaf8a, 0x11d0, 
0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);")
 cpp_quote("DEFINE_GUID(CLSID_AMMediaTypeStream,   0xcf0f2f7c, 0xf7bf, 0x11d0, 
0x90, 0x0d, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);")
+cpp_quote("DEFINE_GUID(CLSID_MediaStreamFilter,   0x49c47ce0, 0x9ba4, 0x11d0, 
0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);")

Modified: trunk/reactos/include/dxsdk/ddstream.idl
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/ddstream.idl?rev=40403&r1=40402&r2=40403&view=diff
==============================================================================
--- trunk/reactos/include/dxsdk/ddstream.idl [iso-8859-1] (original)
+++ trunk/reactos/include/dxsdk/ddstream.idl [iso-8859-1] Mon Apr  6 20:55:54 
2009
@@ -19,7 +19,7 @@
 import "unknwn.idl";
 import "mmstream.idl";
 
-cpp_quote("#ifndef __WINE_DDRAW_H")
+cpp_quote("#ifndef __DDRAW_INCLUDED__")
 typedef void * LPDDSURFACEDESC;
 typedef struct tDDSURFACEDESC DDSURFACEDESC;
 interface IDirectDraw;

Modified: trunk/reactos/include/psdk/mscoree.idl
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/mscoree.idl?rev=40403&r1=40402&r2=40403&view=diff
==============================================================================
--- trunk/reactos/include/psdk/mscoree.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/mscoree.idl [iso-8859-1] Mon Apr  6 20:55:54 2009
@@ -27,6 +27,8 @@
 cpp_quote("HRESULT     WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);")
 cpp_quote("HRESULT     WINAPI 
GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);")
 cpp_quote("HRESULT     WINAPI 
LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);")
+cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)();")
+cpp_quote("HRESULT     WINAPI 
LockClrVersion(FLockClrVersionCallback,FLockClrVersionCallback*,FLockClrVersionCallback*);")
 
 typedef void* HDOMAINENUM;
 

Modified: trunk/reactos/include/psdk/msctf.idl
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/msctf.idl?rev=40403&r1=40402&r2=40403&view=diff
==============================================================================
--- trunk/reactos/include/psdk/msctf.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/msctf.idl [iso-8859-1] Mon Apr  6 20:55:54 2009
@@ -476,3 +476,42 @@
     HRESULT Skip(
         [in] ULONG ulCount);
 };
+
+[
+  object,
+  local,
+  uuid(aa80e7f7-2021-11d2-93e0-0060b067b86e),
+  pointer_default(unique)
+]
+interface ITfTextInputProcessor : IUnknown
+{
+    HRESULT Activate(
+        [in] ITfThreadMgr *ptim,
+        [in] TfClientId tid);
+
+    HRESULT Deactivate();
+};
+
+[
+  object,
+  uuid(aa80e80e-2021-11d2-93e0-0060b067b86e),
+  pointer_default(unique)
+]
+interface ITfThreadMgrEventSink : IUnknown
+{
+    HRESULT OnInitDocumentMgr(
+        [in] ITfDocumentMgr *pdim);
+
+    HRESULT OnUninitDocumentMgr(
+        [in] ITfDocumentMgr *pdim);
+
+    HRESULT OnSetFocus(
+        [in] ITfDocumentMgr *pdimFocus,
+        [in] ITfDocumentMgr *pdimPrevFocus);
+
+    HRESULT OnPushContext(
+        [in] ITfContext *pic);
+
+    HRESULT OnPopContext(
+        [in] ITfContext *pic);
+};

Added: trunk/reactos/include/psdk/perhist.idl
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/perhist.idl?rev=40403&view=auto
==============================================================================
--- trunk/reactos/include/psdk/perhist.idl (added)
+++ trunk/reactos/include/psdk/perhist.idl [iso-8859-1] Mon Apr  6 20:55:54 2009
@@ -1,0 +1,38 @@
+/*
+ * Copyright 2009 Alistair Leslie-Hughes
+ *
+ * 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
+ */
+
+import "objidl.idl";
+import "oleidl.idl";
+
+[
+    object,
+    uuid(91A565C1-E38F-11d0-94BF-00A0C9055CBF),
+    pointer_default(unique)
+]
+interface IPersistHistory : IPersist
+{
+    typedef [unique] IPersistHistory *LPPERSISTHISTORY;
+
+    HRESULT LoadHistory([in] IStream *pStream, [in] IBindCtx *pbc);
+
+    HRESULT SaveHistory([in] IStream *pStream);
+
+    HRESULT SetPositionCookie([in] DWORD dwPositioncookie);
+
+    HRESULT GetPositionCookie([out] DWORD *pdwPositioncookie);
+}

Propchange: trunk/reactos/include/psdk/perhist.idl
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: trunk/reactos/include/psdk/psdk.rbuild
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/psdk.rbuild?rev=40403&r1=40402&r2=40403&view=diff
==============================================================================
--- trunk/reactos/include/psdk/psdk.rbuild [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/psdk.rbuild [iso-8859-1] Mon Apr  6 20:55:54 2009
@@ -35,6 +35,7 @@
        <file>oledb.idl</file>
        <file>oleidl.idl</file>
        <file>optary.idl</file>
+       <file>perhist.idl</file>
        <file>propidl.idl</file>
        <file>pstore.idl</file>
        <file>richole.idl</file>

Reply via email to