Jacek Caban : include: Added htiframe.idl.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 7 11:10:32 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: ccee0297d5a06a6e17b52f504d45b58740779f96
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ccee0297d5a06a6e17b52f504d45b58740779f96

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jul  7 15:12:56 2006 +0200

include: Added htiframe.idl.

---

 dlls/uuid/uuid.c     |    1 
 include/.gitignore   |    1 
 include/Makefile.in  |    1 
 include/htiframe.idl |  134 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 137 insertions(+), 0 deletions(-)
 create mode 100644 include/htiframe.idl

diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c
index 41795b6..98cdffb 100644
--- a/dlls/uuid/uuid.c
+++ b/dlls/uuid/uuid.c
@@ -65,6 +65,7 @@ #include "objsel.h"
 #include "hlink.h"
 #include "optary.h"
 #include "indexsvr.h"
+#include "htiframe.h"
 
 /* FIXME: cguids declares GUIDs but does not define their values */
 
diff --git a/include/.gitignore b/include/.gitignore
index 7996266..0a38030 100644
--- a/include/.gitignore
+++ b/include/.gitignore
@@ -12,6 +12,7 @@ docobj.h
 downloadmgr.h
 exdisp.h
 hlink.h
+htiframe.h
 iads.h
 indexsvr.h
 mediaobj.h
diff --git a/include/Makefile.in b/include/Makefile.in
index 0b7039b..14c9b2f 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -17,6 +17,7 @@ WINDOWS_IDL_SRCS = \
 	downloadmgr.idl \
 	exdisp.idl \
 	hlink.idl \
+	htiframe.idl \
 	iads.idl \
 	indexsvr.idl \
 	mediaobj.idl \
diff --git a/include/htiframe.idl b/include/htiframe.idl
new file mode 100644
index 0000000..21a55a4
--- /dev/null
+++ b/include/htiframe.idl
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2006 Jacek Caban for CodeWeavers
+ *
+ * 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";
+
+/*****************************************************************************
+ *    ITargetNotify interface
+ */
+[
+    object,
+    uuid(863a99a0-21bc-11d0-82b4-00a0c90c29c5),
+    pointer_default(unique)
+]
+interface ITargetNotify : IUnknown
+{
+    typedef [unique] ITargetNotify *LPTARGETNOTIFY;
+
+    HRESULT OnCreate(
+            [in] IUnknown *pUnkDestination,
+            [in] ULONG cbCookie);
+
+    HRESULT OnReuse([in] IUnknown *pUnkDestination);
+}
+
+/*****************************************************************************
+ *    ITargetNotify2 interface
+ */
+[
+    object,
+    uuid(3050f6b1-98b5-11cf-bb82-00aa00bdce0b),
+    pointer_default(unique)
+]
+interface ITargetNotify2 : ITargetNotify
+{
+    typedef [unique] ITargetNotify2 *LPTARGETNOTIFY2;
+
+    HRESULT GetOptionString([in,out] BSTR *pbstrOptions);
+}
+
+/*****************************************************************************
+ *    ITargetFrame2 interface
+ */
+[
+    object,
+    uuid(86d52e11-94a8-11d0-82af-00c04fd5ae38),
+    pointer_default(unique)
+]
+interface ITargetFrame2 : IUnknown
+{
+    typedef [unique] ITargetFrame2 *LPTARGETFRAME2;
+
+    typedef enum {
+        FINDFRAME_NONE               = 0,
+        FINDFRAME_JUSTTESTEXISTENCE  = 1,
+        FINDFRAME_INTERNAL           = 0x80000000
+    } FINDFRAME_FLAGS;
+
+    typedef enum {
+        FRAMEOPTIONS_SCROLL_YES   = 0x00000001,
+        FRAMEOPTIONS_SCROLL_NO    = 0x00000002,
+        FRAMEOPTIONS_SCROLL_AUTO  = 0x00000004,
+        FRAMEOPTIONS_NORESIZE     = 0x00000008,
+        FRAMEOPTIONS_NO3DBORDER   = 0x00000010,
+        FRAMEOPTIONS_DESKTOP      = 0x00000020,
+        FRAMEOPTIONS_BROWSERBAND  = 0x00000040
+    } FRAMEOPTIONS_FLAGS;
+
+    HRESULT SetFrameName([in] LPCWSTR pszFrameName);
+
+    HRESULT GetFrameName([out] LPWSTR *ppszFrameName);
+
+    HRESULT GetParentFrame([out] IUnknown **ppunkParent);
+
+    HRESULT SetFrameSrc([in] LPCWSTR pszFrameSrc);
+
+    HRESULT GetFrameSrc([out] LPWSTR *ppszFrameSrc);
+
+    HRESULT GetFramesContainer([out] IOleContainer **ppContainer);
+
+    HRESULT SetFrameOptions([in] DWORD dwFlags);
+
+    HRESULT GetFrameOptions([out] DWORD *pdwFlags);
+
+    HRESULT SetFrameMargins(
+            [in] DWORD dwWidth,
+            [in] DWORD dwHeight);
+
+    HRESULT GetFrameMargins(
+            [out] DWORD *pdwWidth,
+            [out] DWORD *pdwHeight);
+
+    HRESULT FindFrame(
+            [in,unique] LPCWSTR pszTargetName,
+            [in] DWORD dwFlags,
+            [out] IUnknown **ppunkTargetFrame);
+
+    HRESULT GetTargetAlias(
+            [in,unique] LPCWSTR pszTargetName,
+             [out] LPWSTR *ppszTargetAlias);
+}
+
+/*****************************************************************************
+ *    ITargetContainer interface
+ */
+[
+    object,
+    uuid(7847ec01-2bec-11d0-82b4-00a0c90C29c5),
+    pointer_default(unique)
+]
+interface ITargetContainer : IUnknown
+{
+    typedef [unique] ITargetContainer *LPTARGETCONTAINER;
+
+    HRESULT GetFrameUrl([out] LPWSTR *ppszFrameSrc);
+
+    HRESULT GetFramesContainer([out] IOleContainer **ppContainer);
+
+}




More information about the wine-cvs mailing list