Added mshtmhst.idl.

This commit is contained in:
Jacek Caban 2005-03-25 20:46:48 +00:00 committed by Alexandre Julliard
parent a703343f60
commit 6f9ddc3bab
4 changed files with 102 additions and 0 deletions

View File

@ -56,6 +56,7 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
#include "dispex.h"
#include "mlang.h"
#include "mshtml.h"
#include "mshtmhst.h"
#include "richole.h"
/* FIXME: cguids declares GUIDs but does not define their values */

View File

@ -13,6 +13,7 @@ exdisp.h
mediaobj.h
mlang.h
mmstream.h
mshtmhst.h
mshtml.h
oaidl.h
objidl.h

View File

@ -18,6 +18,7 @@ IDL_SRCS = \
mediaobj.idl \
mlang.idl \
mmstream.idl \
mshtmhst.idl \
mshtml.idl \
oaidl.idl \
objidl.idl \

99
include/mshtmhst.idl Normal file
View File

@ -0,0 +1,99 @@
/*
* Copyright 2005 Jacek Caban
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
import "ocidl.idl";
import "objidl.idl";
import "oleidl.idl";
import "oaidl.idl";
import "docobj.idl";
/*****************************************************************************
* IDocHostUIHandler interface
*/
[
object,
uuid(BD3F23C0-D43E-11CF-893B-00AA00BDCE1A),
pointer_default(unique),
local
]
interface IDocHostUIHandler : IUnknown
{
typedef struct _DOCHOSTUIINFO
{
ULONG cbSize;
DWORD dwFlags;
DWORD dwDoubleClick;
OLECHAR *pchHostCss;
OLECHAR *pchHostNS;
} DOCHOSTUIINFO;
HRESULT ShowContextMenu(
[in] DWORD dwID,
[in] POINT *ppt,
[in] IUnknown *pcmdtReserved,
[in] IDispatch *pdispReserved);
HRESULT GetHostInfo([in, out] DOCHOSTUIINFO *pInfo);
HRESULT ShowUI(
[in] DWORD dwID,
[in] IOleInPlaceActiveObject *pActiveObject,
[in] IOleCommandTarget *pCommandTarget,
[in] IOleInPlaceFrame *pFrame,
[in] IOleInPlaceUIWindow *pDoc);
HRESULT HideUI();
HRESULT UpdateUI();
HRESULT EnableModeless([in] BOOL fEnable);
HRESULT OnDocWindowActivate([in] BOOL fActivate);
HRESULT OnFrameWindowActivate([in] BOOL fActivate);
HRESULT ResizeBorder(
[in] LPCRECT prcBorder,
[in] IOleInPlaceUIWindow *pUIWindow,
[in] BOOL fRameWindow);
HRESULT TranslateAccelerator(
[in] LPMSG lpMsg,
[in] const GUID *pguidCmdGroup,
[in] DWORD nCmdID);
HRESULT GetOptionKeyPath(
[out] LPOLESTR *pchKey,
[in] DWORD dw);
HRESULT GetDropTarget(
[in] IDropTarget *pDropTarget,
[out] IDropTarget **ppDropTarget);
HRESULT GetExternal([out] IDispatch **ppDispatch);
HRESULT TranslateUrl(
[in] DWORD dwTranslate,
[in] OLECHAR *pchURLIn,
[out] OLECHAR **ppchURLOut);
HRESULT FilterDataObject(
[in]IDataObject *pDO,
[out]IDataObject **ppDORet);
}