ReactOS  0.4.13-dev-698-g77671f0
ipwindow.c File Reference
#include "mshtml_private.h"
Include dependency graph for ipwindow.c:

Go to the source code of this file.

Classes

struct  InPlaceFrame
 
struct  InPlaceUIWindow
 

Functions

static InPlaceFrameimpl_from_IOleInPlaceFrame (IOleInPlaceFrame *iface)
 
static HRESULT WINAPI InPlaceFrame_QueryInterface (IOleInPlaceFrame *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI InPlaceFrame_AddRef (IOleInPlaceFrame *iface)
 
static ULONG WINAPI InPlaceFrame_Release (IOleInPlaceFrame *iface)
 
static HRESULT WINAPI InPlaceFrame_GetWindow (IOleInPlaceFrame *iface, HWND *phwnd)
 
static HRESULT WINAPI InPlaceFrame_ContextSensitiveHelp (IOleInPlaceFrame *iface, BOOL fEnterMode)
 
static HRESULT WINAPI InPlaceFrame_GetBorder (IOleInPlaceFrame *iface, LPRECT lprectBorder)
 
static HRESULT WINAPI InPlaceFrame_RequestBorderSpace (IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI InPlaceFrame_SetBorderSpace (IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI InPlaceFrame_SetActiveObject (IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
 
static HRESULT WINAPI InPlaceFrame_InsertMenus (IOleInPlaceFrame *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
 
static HRESULT WINAPI InPlaceFrame_SetMenu (IOleInPlaceFrame *iface, HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject)
 
static HRESULT WINAPI InPlaceFrame_RemoveMenus (IOleInPlaceFrame *iface, HMENU hmenuShared)
 
static HRESULT WINAPI InPlaceFrame_SetStatusText (IOleInPlaceFrame *iface, LPCOLESTR pszStatusText)
 
static HRESULT WINAPI InPlaceFrame_EnableModeless (IOleInPlaceFrame *iface, BOOL fEnable)
 
static HRESULT WINAPI InPlaceFrame_TranslateAccelerator (IOleInPlaceFrame *iface, LPMSG lpmsg, WORD wID)
 
HRESULT create_ip_frame (IOleInPlaceFrame **ret)
 
static InPlaceUIWindowimpl_from_IOleInPlaceUIWindow (IOleInPlaceUIWindow *iface)
 
static HRESULT WINAPI InPlaceUIWindow_QueryInterface (IOleInPlaceUIWindow *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI InPlaceUIWindow_AddRef (IOleInPlaceUIWindow *iface)
 
static ULONG WINAPI InPlaceUIWindow_Release (IOleInPlaceUIWindow *iface)
 
static HRESULT WINAPI InPlaceUIWindow_GetWindow (IOleInPlaceUIWindow *iface, HWND *phwnd)
 
static HRESULT WINAPI InPlaceUIWindow_ContextSensitiveHelp (IOleInPlaceUIWindow *iface, BOOL fEnterMode)
 
static HRESULT WINAPI InPlaceUIWindow_GetBorder (IOleInPlaceUIWindow *iface, LPRECT lprectBorder)
 
static HRESULT WINAPI InPlaceUIWindow_RequestBorderSpace (IOleInPlaceUIWindow *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI InPlaceUIWindow_SetBorderSpace (IOleInPlaceUIWindow *iface, LPCBORDERWIDTHS pborderwidths)
 
static HRESULT WINAPI InPlaceUIWindow_SetActiveObject (IOleInPlaceUIWindow *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
 
HRESULT create_ip_window (IOleInPlaceUIWindow **ret)
 

Variables

static const IOleInPlaceFrameVtbl OleInPlaceFrameVtbl
 
static const IOleInPlaceUIWindowVtbl OleInPlaceUIWindowVtbl
 

Function Documentation

◆ create_ip_frame()

HRESULT create_ip_frame ( IOleInPlaceFrame **  ret)

Definition at line 189 of file ipwindow.c.

190 {
191  InPlaceFrame *frame;
192 
193  frame = heap_alloc_zero(sizeof(*frame));
194  if(!frame)
195  return E_OUTOFMEMORY;
196 
198  frame->ref = 1;
199 
200  *ret = &frame->IOleInPlaceFrame_iface;
201  return S_OK;
202 }
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
LONG ref
Definition: ipwindow.c:23
static const IOleInPlaceFrameVtbl OleInPlaceFrameVtbl
Definition: ipwindow.c:171
int ret
#define S_OK
Definition: intsafe.h:59
IOleInPlaceFrame IOleInPlaceFrame_iface
Definition: ipwindow.c:22

Referenced by PHInPlaceSite_GetWindowContext().

◆ create_ip_window()

HRESULT create_ip_window ( IOleInPlaceUIWindow **  ret)

Definition at line 317 of file ipwindow.c.

318 {
319  InPlaceUIWindow *uiwindow;
320 
321  uiwindow = heap_alloc_zero(sizeof(*uiwindow));
322  if(!uiwindow)
323  return E_OUTOFMEMORY;
324 
326  uiwindow->ref = 1;
327 
328  *ret = &uiwindow->IOleInPlaceUIWindow_iface;
329  return S_OK;
330 }
static const IOleInPlaceUIWindowVtbl OleInPlaceUIWindowVtbl
Definition: ipwindow.c:305
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
int ret
#define S_OK
Definition: intsafe.h:59
IOleInPlaceUIWindow IOleInPlaceUIWindow_iface
Definition: ipwindow.c:205

Referenced by PHInPlaceSite_GetWindowContext().

◆ impl_from_IOleInPlaceFrame()

static InPlaceFrame* impl_from_IOleInPlaceFrame ( IOleInPlaceFrame iface)
inlinestatic

Definition at line 26 of file ipwindow.c.

27 {
28  return CONTAINING_RECORD(iface, InPlaceFrame, IOleInPlaceFrame_iface);
29 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by InPlaceFrame_AddRef(), InPlaceFrame_ContextSensitiveHelp(), InPlaceFrame_EnableModeless(), InPlaceFrame_GetBorder(), InPlaceFrame_GetWindow(), InPlaceFrame_InsertMenus(), InPlaceFrame_QueryInterface(), InPlaceFrame_Release(), InPlaceFrame_RemoveMenus(), InPlaceFrame_RequestBorderSpace(), InPlaceFrame_SetActiveObject(), InPlaceFrame_SetBorderSpace(), InPlaceFrame_SetMenu(), InPlaceFrame_SetStatusText(), and InPlaceFrame_TranslateAccelerator().

◆ impl_from_IOleInPlaceUIWindow()

static InPlaceUIWindow* impl_from_IOleInPlaceUIWindow ( IOleInPlaceUIWindow iface)
inlinestatic

Definition at line 209 of file ipwindow.c.

210 {
211  return CONTAINING_RECORD(iface, InPlaceUIWindow, IOleInPlaceUIWindow_iface);
212 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by InPlaceUIWindow_AddRef(), InPlaceUIWindow_ContextSensitiveHelp(), InPlaceUIWindow_GetBorder(), InPlaceUIWindow_GetWindow(), InPlaceUIWindow_QueryInterface(), InPlaceUIWindow_Release(), InPlaceUIWindow_RequestBorderSpace(), InPlaceUIWindow_SetActiveObject(), and InPlaceUIWindow_SetBorderSpace().

◆ InPlaceFrame_AddRef()

static ULONG WINAPI InPlaceFrame_AddRef ( IOleInPlaceFrame iface)
static

Definition at line 56 of file ipwindow.c.

57 {
60 
61  TRACE("(%p) ref=%d\n", This, ref);
62 
63  return ref;
64 }
Definition: send.c:47
long LONG
Definition: pedump.c:60
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define InterlockedIncrement
Definition: armddk.h:53

◆ InPlaceFrame_ContextSensitiveHelp()

static HRESULT WINAPI InPlaceFrame_ContextSensitiveHelp ( IOleInPlaceFrame iface,
BOOL  fEnterMode 
)
static

Definition at line 86 of file ipwindow.c.

88 {
90  FIXME("(%p)->(%x)\n", This, fEnterMode);
91  return E_NOTIMPL;
92 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_EnableModeless()

static HRESULT WINAPI InPlaceFrame_EnableModeless ( IOleInPlaceFrame iface,
BOOL  fEnable 
)
static

Definition at line 156 of file ipwindow.c.

157 {
159  FIXME("(%p)->(%x)\n", This, fEnable);
160  return E_NOTIMPL;
161 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_GetBorder()

static HRESULT WINAPI InPlaceFrame_GetBorder ( IOleInPlaceFrame iface,
LPRECT  lprectBorder 
)
static

Definition at line 94 of file ipwindow.c.

95 {
97  FIXME("(%p)->(%p)\n", This, lprectBorder);
98  return E_NOTIMPL;
99 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_GetWindow()

static HRESULT WINAPI InPlaceFrame_GetWindow ( IOleInPlaceFrame iface,
HWND phwnd 
)
static

Definition at line 79 of file ipwindow.c.

80 {
82  FIXME("(%p)->(%p)\n", This, phwnd);
83  return E_NOTIMPL;
84 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_InsertMenus()

static HRESULT WINAPI InPlaceFrame_InsertMenus ( IOleInPlaceFrame iface,
HMENU  hmenuShared,
LPOLEMENUGROUPWIDTHS  lpMenuWidths 
)
static

Definition at line 125 of file ipwindow.c.

127 {
129  FIXME("(%p)->(%p %p)\n", This, hmenuShared, lpMenuWidths);
130  return E_NOTIMPL;
131 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_QueryInterface()

static HRESULT WINAPI InPlaceFrame_QueryInterface ( IOleInPlaceFrame iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 31 of file ipwindow.c.

33 {
35 
36  TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
37 
39  *ppv = &This->IOleInPlaceFrame_iface;
40  }else if(IsEqualGUID(&IID_IOleWindow, riid)) {
41  *ppv = &This->IOleInPlaceFrame_iface;
43  *ppv = &This->IOleInPlaceFrame_iface;
45  *ppv = &This->IOleInPlaceFrame_iface;
46  }else {
47  WARN("Unsopported interface %s\n", debugstr_mshtml_guid(riid));
48  *ppv = NULL;
49  return E_NOINTERFACE;
50  }
51 
52  IUnknown_AddRef((IUnknown*)*ppv);
53  return S_OK;
54 }
const GUID IID_IOleInPlaceFrame
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
#define WARN(fmt,...)
Definition: debug.h:111
REFIID LPVOID * ppv
Definition: atlbase.h:39
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:535
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
const GUID IID_IOleWindow
const GUID IID_IOleInPlaceUIWindow

◆ InPlaceFrame_Release()

static ULONG WINAPI InPlaceFrame_Release ( IOleInPlaceFrame iface)
static

Definition at line 66 of file ipwindow.c.

67 {
70 
71  TRACE("(%p) ref=%d\n", This, ref);
72 
73  if(!ref)
74  heap_free(This);
75 
76  return ref;
77 }
Definition: send.c:47
long LONG
Definition: pedump.c:60
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedDecrement
Definition: armddk.h:52
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ InPlaceFrame_RemoveMenus()

static HRESULT WINAPI InPlaceFrame_RemoveMenus ( IOleInPlaceFrame iface,
HMENU  hmenuShared 
)
static

Definition at line 141 of file ipwindow.c.

142 {
144  FIXME("(%p)->(%p)\n", This, hmenuShared);
145  return E_NOTIMPL;
146 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_RequestBorderSpace()

static HRESULT WINAPI InPlaceFrame_RequestBorderSpace ( IOleInPlaceFrame iface,
LPCBORDERWIDTHS  pborderwidths 
)
static

Definition at line 101 of file ipwindow.c.

103 {
105  FIXME("(%p)->(%p)\n", This, pborderwidths);
106  return E_NOTIMPL;
107 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_SetActiveObject()

static HRESULT WINAPI InPlaceFrame_SetActiveObject ( IOleInPlaceFrame iface,
IOleInPlaceActiveObject pActiveObject,
LPCOLESTR  pszObjName 
)
static

Definition at line 117 of file ipwindow.c.

119 {
121  FIXME("(%p)->(%p %s)\n", This, pActiveObject, debugstr_w(pszObjName));
122  return E_NOTIMPL;
123 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_SetBorderSpace()

static HRESULT WINAPI InPlaceFrame_SetBorderSpace ( IOleInPlaceFrame iface,
LPCBORDERWIDTHS  pborderwidths 
)
static

Definition at line 109 of file ipwindow.c.

111 {
113  FIXME("(%p)->(%p)\n", This, pborderwidths);
114  return E_NOTIMPL;
115 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_SetMenu()

static HRESULT WINAPI InPlaceFrame_SetMenu ( IOleInPlaceFrame iface,
HMENU  hmenuShared,
HOLEMENU  holemenu,
HWND  hwndActiveObject 
)
static

Definition at line 133 of file ipwindow.c.

135 {
137  FIXME("(%p)->(%p %p %p)\n", This, hmenuShared, holemenu, hwndActiveObject);
138  return E_NOTIMPL;
139 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_SetStatusText()

static HRESULT WINAPI InPlaceFrame_SetStatusText ( IOleInPlaceFrame iface,
LPCOLESTR  pszStatusText 
)
static

Definition at line 148 of file ipwindow.c.

150 {
152  FIXME("(%p)->(%s)\n", This, debugstr_w(pszStatusText));
153  return E_NOTIMPL;
154 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceFrame_TranslateAccelerator()

static HRESULT WINAPI InPlaceFrame_TranslateAccelerator ( IOleInPlaceFrame iface,
LPMSG  lpmsg,
WORD  wID 
)
static

Definition at line 163 of file ipwindow.c.

165 {
167  FIXME("(%p)->(%p %d)\n", This, lpmsg, wID);
168  return E_NOTIMPL;
169 }
#define FIXME(fmt,...)
Definition: debug.h:110
static InPlaceFrame * impl_from_IOleInPlaceFrame(IOleInPlaceFrame *iface)
Definition: ipwindow.c:26
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceUIWindow_AddRef()

static ULONG WINAPI InPlaceUIWindow_AddRef ( IOleInPlaceUIWindow iface)
static

Definition at line 236 of file ipwindow.c.

237 {
240 
241  TRACE("(%p) ref=%d\n", This, ref);
242 
243  return ref;
244 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
Definition: send.c:47
long LONG
Definition: pedump.c:60
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedIncrement
Definition: armddk.h:53

◆ InPlaceUIWindow_ContextSensitiveHelp()

static HRESULT WINAPI InPlaceUIWindow_ContextSensitiveHelp ( IOleInPlaceUIWindow iface,
BOOL  fEnterMode 
)
static

Definition at line 266 of file ipwindow.c.

268 {
270  FIXME("(%p)->(%x)\n", This, fEnterMode);
271  return E_NOTIMPL;
272 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceUIWindow_GetBorder()

static HRESULT WINAPI InPlaceUIWindow_GetBorder ( IOleInPlaceUIWindow iface,
LPRECT  lprectBorder 
)
static

Definition at line 274 of file ipwindow.c.

275 {
277  FIXME("(%p)->(%p)\n", This, lprectBorder);
278  return E_NOTIMPL;
279 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceUIWindow_GetWindow()

static HRESULT WINAPI InPlaceUIWindow_GetWindow ( IOleInPlaceUIWindow iface,
HWND phwnd 
)
static

Definition at line 259 of file ipwindow.c.

260 {
262  FIXME("(%p)->(%p)\n", This, phwnd);
263  return E_NOTIMPL;
264 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceUIWindow_QueryInterface()

static HRESULT WINAPI InPlaceUIWindow_QueryInterface ( IOleInPlaceUIWindow iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 214 of file ipwindow.c.

215 {
217 
218  TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
219 
220  if(IsEqualGUID(&IID_IUnknown, riid)) {
221  *ppv = &This->IOleInPlaceUIWindow_iface;
222  }else if(IsEqualGUID(&IID_IOleWindow, riid)) {
223  *ppv = &This->IOleInPlaceUIWindow_iface;
225  *ppv = &This->IOleInPlaceUIWindow_iface;
226  }else {
227  WARN("Unsopported interface %s\n", debugstr_mshtml_guid(riid));
228  *ppv = NULL;
229  return E_NOINTERFACE;
230  }
231 
232  IUnknown_AddRef((IUnknown*)*ppv);
233  return S_OK;
234 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
#define WARN(fmt,...)
Definition: debug.h:111
REFIID LPVOID * ppv
Definition: atlbase.h:39
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:535
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
const GUID IID_IOleWindow
const GUID IID_IOleInPlaceUIWindow

◆ InPlaceUIWindow_Release()

static ULONG WINAPI InPlaceUIWindow_Release ( IOleInPlaceUIWindow iface)
static

Definition at line 246 of file ipwindow.c.

247 {
250 
251  TRACE("(%p) ref=%d\n", This, ref);
252 
253  if(!ref)
254  heap_free(This);
255 
256  return ref;
257 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
Definition: send.c:47
long LONG
Definition: pedump.c:60
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedDecrement
Definition: armddk.h:52
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ InPlaceUIWindow_RequestBorderSpace()

static HRESULT WINAPI InPlaceUIWindow_RequestBorderSpace ( IOleInPlaceUIWindow iface,
LPCBORDERWIDTHS  pborderwidths 
)
static

Definition at line 281 of file ipwindow.c.

283 {
285  FIXME("(%p)->(%p)\n", This, pborderwidths);
286  return E_NOTIMPL;
287 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceUIWindow_SetActiveObject()

static HRESULT WINAPI InPlaceUIWindow_SetActiveObject ( IOleInPlaceUIWindow iface,
IOleInPlaceActiveObject pActiveObject,
LPCOLESTR  pszObjName 
)
static

Definition at line 297 of file ipwindow.c.

299 {
301  FIXME("(%p)->(%p %s)\n", This, pActiveObject, debugstr_w(pszObjName));
302  return E_NOTIMPL;
303 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ InPlaceUIWindow_SetBorderSpace()

static HRESULT WINAPI InPlaceUIWindow_SetBorderSpace ( IOleInPlaceUIWindow iface,
LPCBORDERWIDTHS  pborderwidths 
)
static

Definition at line 289 of file ipwindow.c.

291 {
293  FIXME("(%p)->(%p)\n", This, pborderwidths);
294  return E_NOTIMPL;
295 }
static InPlaceUIWindow * impl_from_IOleInPlaceUIWindow(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:209
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

Variable Documentation

◆ OleInPlaceFrameVtbl

const IOleInPlaceFrameVtbl OleInPlaceFrameVtbl
static
Initial value:
= {
}
static HRESULT WINAPI InPlaceFrame_SetMenu(IOleInPlaceFrame *iface, HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject)
Definition: ipwindow.c:133
static HRESULT WINAPI InPlaceFrame_SetStatusText(IOleInPlaceFrame *iface, LPCOLESTR pszStatusText)
Definition: ipwindow.c:148
static HRESULT WINAPI InPlaceFrame_RequestBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
Definition: ipwindow.c:101
static ULONG WINAPI InPlaceFrame_AddRef(IOleInPlaceFrame *iface)
Definition: ipwindow.c:56
static ULONG WINAPI InPlaceFrame_Release(IOleInPlaceFrame *iface)
Definition: ipwindow.c:66
static HRESULT WINAPI InPlaceFrame_ContextSensitiveHelp(IOleInPlaceFrame *iface, BOOL fEnterMode)
Definition: ipwindow.c:86
static HRESULT WINAPI InPlaceFrame_SetActiveObject(IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
Definition: ipwindow.c:117
static HRESULT WINAPI InPlaceFrame_TranslateAccelerator(IOleInPlaceFrame *iface, LPMSG lpmsg, WORD wID)
Definition: ipwindow.c:163
static HRESULT WINAPI InPlaceFrame_InsertMenus(IOleInPlaceFrame *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
Definition: ipwindow.c:125
static HRESULT WINAPI InPlaceFrame_RemoveMenus(IOleInPlaceFrame *iface, HMENU hmenuShared)
Definition: ipwindow.c:141
static HRESULT WINAPI InPlaceFrame_EnableModeless(IOleInPlaceFrame *iface, BOOL fEnable)
Definition: ipwindow.c:156
static HRESULT WINAPI InPlaceFrame_QueryInterface(IOleInPlaceFrame *iface, REFIID riid, void **ppv)
Definition: ipwindow.c:31
static HRESULT WINAPI InPlaceFrame_GetBorder(IOleInPlaceFrame *iface, LPRECT lprectBorder)
Definition: ipwindow.c:94
static HRESULT WINAPI InPlaceFrame_GetWindow(IOleInPlaceFrame *iface, HWND *phwnd)
Definition: ipwindow.c:79
static HRESULT WINAPI InPlaceFrame_SetBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
Definition: ipwindow.c:109

Definition at line 171 of file ipwindow.c.

Referenced by create_ip_frame().

◆ OleInPlaceUIWindowVtbl

const IOleInPlaceUIWindowVtbl OleInPlaceUIWindowVtbl
static
Initial value:
= {
}
static HRESULT WINAPI InPlaceUIWindow_RequestBorderSpace(IOleInPlaceUIWindow *iface, LPCBORDERWIDTHS pborderwidths)
Definition: ipwindow.c:281
static HRESULT WINAPI InPlaceUIWindow_GetWindow(IOleInPlaceUIWindow *iface, HWND *phwnd)
Definition: ipwindow.c:259
static ULONG WINAPI InPlaceUIWindow_AddRef(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:236
static HRESULT WINAPI InPlaceUIWindow_GetBorder(IOleInPlaceUIWindow *iface, LPRECT lprectBorder)
Definition: ipwindow.c:274
static HRESULT WINAPI InPlaceUIWindow_SetActiveObject(IOleInPlaceUIWindow *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
Definition: ipwindow.c:297
static HRESULT WINAPI InPlaceUIWindow_QueryInterface(IOleInPlaceUIWindow *iface, REFIID riid, void **ppv)
Definition: ipwindow.c:214
static HRESULT WINAPI InPlaceUIWindow_ContextSensitiveHelp(IOleInPlaceUIWindow *iface, BOOL fEnterMode)
Definition: ipwindow.c:266
static HRESULT WINAPI InPlaceUIWindow_SetBorderSpace(IOleInPlaceUIWindow *iface, LPCBORDERWIDTHS pborderwidths)
Definition: ipwindow.c:289
static ULONG WINAPI InPlaceUIWindow_Release(IOleInPlaceUIWindow *iface)
Definition: ipwindow.c:246

Definition at line 305 of file ipwindow.c.

Referenced by create_ip_window().