diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c index 80e9abd10aa..d9a0afc6198 100644 --- a/dlls/uuid/uuid.c +++ b/dlls/uuid/uuid.c @@ -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 */ diff --git a/include/.cvsignore b/include/.cvsignore index cb44926b601..f58f66cc410 100644 --- a/include/.cvsignore +++ b/include/.cvsignore @@ -13,6 +13,7 @@ exdisp.h mediaobj.h mlang.h mmstream.h +mshtmhst.h mshtml.h oaidl.h objidl.h diff --git a/include/Makefile.in b/include/Makefile.in index 69cd907d859..4279889ba12 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -18,6 +18,7 @@ IDL_SRCS = \ mediaobj.idl \ mlang.idl \ mmstream.idl \ + mshtmhst.idl \ mshtml.idl \ oaidl.idl \ objidl.idl \ diff --git a/include/mshtmhst.idl b/include/mshtmhst.idl new file mode 100644 index 00000000000..24baa9cc2ac --- /dev/null +++ b/include/mshtmhst.idl @@ -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); +}