Remove unneeded casts.
[wine/dcerpc.git] / include / mshtmhst.idl
blob24baa9cc2acbc95ab6e7b56e5e9e45b56d930007
1 /*
2 * Copyright 2005 Jacek Caban
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 import "ocidl.idl";
20 import "objidl.idl";
21 import "oleidl.idl";
22 import "oaidl.idl";
23 import "docobj.idl";
26 /*****************************************************************************
27 * IDocHostUIHandler interface
30 object,
31 uuid(BD3F23C0-D43E-11CF-893B-00AA00BDCE1A),
32 pointer_default(unique),
33 local
35 interface IDocHostUIHandler : IUnknown
37 typedef struct _DOCHOSTUIINFO
39 ULONG cbSize;
40 DWORD dwFlags;
41 DWORD dwDoubleClick;
42 OLECHAR *pchHostCss;
43 OLECHAR *pchHostNS;
44 } DOCHOSTUIINFO;
46 HRESULT ShowContextMenu(
47 [in] DWORD dwID,
48 [in] POINT *ppt,
49 [in] IUnknown *pcmdtReserved,
50 [in] IDispatch *pdispReserved);
52 HRESULT GetHostInfo([in, out] DOCHOSTUIINFO *pInfo);
54 HRESULT ShowUI(
55 [in] DWORD dwID,
56 [in] IOleInPlaceActiveObject *pActiveObject,
57 [in] IOleCommandTarget *pCommandTarget,
58 [in] IOleInPlaceFrame *pFrame,
59 [in] IOleInPlaceUIWindow *pDoc);
61 HRESULT HideUI();
63 HRESULT UpdateUI();
65 HRESULT EnableModeless([in] BOOL fEnable);
67 HRESULT OnDocWindowActivate([in] BOOL fActivate);
69 HRESULT OnFrameWindowActivate([in] BOOL fActivate);
71 HRESULT ResizeBorder(
72 [in] LPCRECT prcBorder,
73 [in] IOleInPlaceUIWindow *pUIWindow,
74 [in] BOOL fRameWindow);
76 HRESULT TranslateAccelerator(
77 [in] LPMSG lpMsg,
78 [in] const GUID *pguidCmdGroup,
79 [in] DWORD nCmdID);
81 HRESULT GetOptionKeyPath(
82 [out] LPOLESTR *pchKey,
83 [in] DWORD dw);
85 HRESULT GetDropTarget(
86 [in] IDropTarget *pDropTarget,
87 [out] IDropTarget **ppDropTarget);
89 HRESULT GetExternal([out] IDispatch **ppDispatch);
91 HRESULT TranslateUrl(
92 [in] DWORD dwTranslate,
93 [in] OLECHAR *pchURLIn,
94 [out] OLECHAR **ppchURLOut);
96 HRESULT FilterDataObject(
97 [in]IDataObject *pDO,
98 [out]IDataObject **ppDORet);