ReactOS  0.4.15-dev-1070-ge1a01de
window.c File Reference
#include "oleacc_private.h"
#include "wine/debug.h"
#include "wine/heap.h"
Include dependency graph for window.c:

Go to the source code of this file.

Classes

class  Window
 

Macros

#define COBJMACROS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (oleacc)
 
static Windowimpl_from_Window (IAccessible *iface)
 
static HRESULT WINAPI Window_QueryInterface (IAccessible *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Window_AddRef (IAccessible *iface)
 
static ULONG WINAPI Window_Release (IAccessible *iface)
 
static HRESULT WINAPI Window_GetTypeInfoCount (IAccessible *iface, UINT *pctinfo)
 
static HRESULT WINAPI Window_GetTypeInfo (IAccessible *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI Window_GetIDsOfNames (IAccessible *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI Window_Invoke (IAccessible *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI Window_get_accParent (IAccessible *iface, IDispatch **ppdispParent)
 
static HRESULT WINAPI Window_get_accChildCount (IAccessible *iface, LONG *pcountChildren)
 
static HRESULT WINAPI Window_get_accChild (IAccessible *iface, VARIANT varChildID, IDispatch **ppdispChild)
 
static HRESULT WINAPI Window_get_accName (IAccessible *iface, VARIANT varID, BSTR *pszName)
 
static HRESULT WINAPI Window_get_accValue (IAccessible *iface, VARIANT varID, BSTR *pszValue)
 
static HRESULT WINAPI Window_get_accDescription (IAccessible *iface, VARIANT varID, BSTR *pszDescription)
 
static HRESULT WINAPI Window_get_accRole (IAccessible *iface, VARIANT varID, VARIANT *pvarRole)
 
static HRESULT WINAPI Window_get_accState (IAccessible *iface, VARIANT varID, VARIANT *pvarState)
 
static HRESULT WINAPI Window_get_accHelp (IAccessible *iface, VARIANT varID, BSTR *pszHelp)
 
static HRESULT WINAPI Window_get_accHelpTopic (IAccessible *iface, BSTR *pszHelpFile, VARIANT varID, LONG *pidTopic)
 
static HRESULT WINAPI Window_get_accKeyboardShortcut (IAccessible *iface, VARIANT varID, BSTR *pszKeyboardShortcut)
 
static HRESULT WINAPI Window_get_accFocus (IAccessible *iface, VARIANT *pvarID)
 
static HRESULT WINAPI Window_get_accSelection (IAccessible *iface, VARIANT *pvarID)
 
static HRESULT WINAPI Window_get_accDefaultAction (IAccessible *iface, VARIANT varID, BSTR *pszDefaultAction)
 
static HRESULT WINAPI Window_accSelect (IAccessible *iface, LONG flagsSelect, VARIANT varID)
 
static HRESULT WINAPI Window_accLocation (IAccessible *iface, LONG *pxLeft, LONG *pyTop, LONG *pcxWidth, LONG *pcyHeight, VARIANT varID)
 
static HRESULT WINAPI Window_accNavigate (IAccessible *iface, LONG navDir, VARIANT varStart, VARIANT *pvarEnd)
 
static HRESULT WINAPI Window_accHitTest (IAccessible *iface, LONG xLeft, LONG yTop, VARIANT *pvarID)
 
static HRESULT WINAPI Window_accDoDefaultAction (IAccessible *iface, VARIANT varID)
 
static HRESULT WINAPI Window_put_accName (IAccessible *iface, VARIANT varID, BSTR pszName)
 
static HRESULT WINAPI Window_put_accValue (IAccessible *iface, VARIANT varID, BSTR pszValue)
 
static Windowimpl_from_Window_OleWindow (IOleWindow *iface)
 
static HRESULT WINAPI Window_OleWindow_QueryInterface (IOleWindow *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Window_OleWindow_AddRef (IOleWindow *iface)
 
static ULONG WINAPI Window_OleWindow_Release (IOleWindow *iface)
 
static HRESULT WINAPI Window_OleWindow_GetWindow (IOleWindow *iface, HWND *phwnd)
 
static HRESULT WINAPI Window_OleWindow_ContextSensitiveHelp (IOleWindow *iface, BOOL fEnterMode)
 
static Windowimpl_from_Window_EnumVARIANT (IEnumVARIANT *iface)
 
static HRESULT WINAPI Window_EnumVARIANT_QueryInterface (IEnumVARIANT *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI Window_EnumVARIANT_AddRef (IEnumVARIANT *iface)
 
static ULONG WINAPI Window_EnumVARIANT_Release (IEnumVARIANT *iface)
 
static HRESULT WINAPI Window_EnumVARIANT_Next (IEnumVARIANT *iface, ULONG celt, VARIANT *rgVar, ULONG *pCeltFetched)
 
static HRESULT WINAPI Window_EnumVARIANT_Skip (IEnumVARIANT *iface, ULONG celt)
 
static HRESULT WINAPI Window_EnumVARIANT_Reset (IEnumVARIANT *iface)
 
static HRESULT WINAPI Window_EnumVARIANT_Clone (IEnumVARIANT *iface, IEnumVARIANT **ppEnum)
 
HRESULT create_window_object (HWND hwnd, const IID *iid, void **obj)
 

Variables

static const IAccessibleVtbl WindowVtbl
 
static const IOleWindowVtbl WindowOleWindowVtbl
 
static const IEnumVARIANTVtbl WindowEnumVARIANTVtbl
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 19 of file window.c.

Function Documentation

◆ create_window_object()

HRESULT create_window_object ( HWND  hwnd,
const IID iid,
void **  obj 
)

Definition at line 414 of file window.c.

415 {
416  Window *window;
417  HRESULT hres;
418 
419  if(!IsWindow(hwnd))
420  return E_FAIL;
421 
422  window = heap_alloc_zero(sizeof(Window));
423  if(!window)
424  return E_OUTOFMEMORY;
425 
426  window->IAccessible_iface.lpVtbl = &WindowVtbl;
427  window->IOleWindow_iface.lpVtbl = &WindowOleWindowVtbl;
428  window->IEnumVARIANT_iface.lpVtbl = &WindowEnumVARIANTVtbl;
429  window->ref = 1;
430 
431  hres = IAccessible_QueryInterface(&window->IAccessible_iface, iid, obj);
432  IAccessible_Release(&window->IAccessible_iface);
433  return hres;
434 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
static const IOleWindowVtbl WindowOleWindowVtbl
Definition: window.c:344
#define E_FAIL
Definition: ddrawi.h:102
Definition: window.c:28
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static const IEnumVARIANTVtbl WindowEnumVARIANTVtbl
Definition: window.c:404
static const IAccessibleVtbl WindowVtbl
Definition: window.c:276
BOOL WINAPI IsWindow(HWND hWnd)
Definition: window.c:1547
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:79
static IHTMLWindow2 * window
Definition: events.c:77

Referenced by CreateStdAccessibleObject().

◆ impl_from_Window()

◆ impl_from_Window_EnumVARIANT()

static Window* impl_from_Window_EnumVARIANT ( IEnumVARIANT iface)
inlinestatic

Definition at line 352 of file window.c.

353 {
354  return CONTAINING_RECORD(iface, Window, IEnumVARIANT_iface);
355 }
Definition: window.c:28
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 Window_EnumVARIANT_AddRef(), Window_EnumVARIANT_Clone(), Window_EnumVARIANT_Next(), Window_EnumVARIANT_QueryInterface(), Window_EnumVARIANT_Release(), Window_EnumVARIANT_Reset(), and Window_EnumVARIANT_Skip().

◆ impl_from_Window_OleWindow()

static Window* impl_from_Window_OleWindow ( IOleWindow iface)
inlinestatic

Definition at line 307 of file window.c.

308 {
309  return CONTAINING_RECORD(iface, Window, IOleWindow_iface);
310 }
Definition: window.c:28
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 Window_OleWindow_AddRef(), Window_OleWindow_ContextSensitiveHelp(), Window_OleWindow_GetWindow(), Window_OleWindow_QueryInterface(), and Window_OleWindow_Release().

◆ Window_accDoDefaultAction()

static HRESULT WINAPI Window_accDoDefaultAction ( IAccessible iface,
VARIANT  varID 
)
static

Definition at line 255 of file window.c.

256 {
257  Window *This = impl_from_Window(iface);
258  FIXME("(%p)->(%s)\n", This, debugstr_variant(&varID));
259  return E_NOTIMPL;
260 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_accHitTest()

static HRESULT WINAPI Window_accHitTest ( IAccessible iface,
LONG  xLeft,
LONG  yTop,
VARIANT pvarID 
)
static

Definition at line 247 of file window.c.

249 {
250  Window *This = impl_from_Window(iface);
251  FIXME("(%p)->(%d %d %p)\n", This, xLeft, yTop, pvarID);
252  return E_NOTIMPL;
253 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_accLocation()

static HRESULT WINAPI Window_accLocation ( IAccessible iface,
LONG pxLeft,
LONG pyTop,
LONG pcxWidth,
LONG pcyHeight,
VARIANT  varID 
)
static

Definition at line 230 of file window.c.

232 {
233  Window *This = impl_from_Window(iface);
234  FIXME("(%p)->(%p %p %p %p %s)\n", This, pxLeft, pyTop,
235  pcxWidth, pcyHeight, debugstr_variant(&varID));
236  return E_NOTIMPL;
237 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_accNavigate()

static HRESULT WINAPI Window_accNavigate ( IAccessible iface,
LONG  navDir,
VARIANT  varStart,
VARIANT pvarEnd 
)
static

Definition at line 239 of file window.c.

241 {
242  Window *This = impl_from_Window(iface);
243  FIXME("(%p)->(%d %s %p)\n", This, navDir, debugstr_variant(&varStart), pvarEnd);
244  return E_NOTIMPL;
245 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_accSelect()

static HRESULT WINAPI Window_accSelect ( IAccessible iface,
LONG  flagsSelect,
VARIANT  varID 
)
static

Definition at line 223 of file window.c.

224 {
225  Window *This = impl_from_Window(iface);
226  FIXME("(%p)->(%x %s)\n", This, flagsSelect, debugstr_variant(&varID));
227  return E_NOTIMPL;
228 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_AddRef()

static ULONG WINAPI Window_AddRef ( IAccessible iface)
static

Definition at line 65 of file window.c.

66 {
67  Window *This = impl_from_Window(iface);
69 
70  TRACE("(%p) ref = %u\n", This, ref);
71  return ref;
72 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: send.c:48
Definition: window.c:28
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedIncrement
Definition: armddk.h:53
unsigned int ULONG
Definition: retypes.h:1

◆ Window_EnumVARIANT_AddRef()

static ULONG WINAPI Window_EnumVARIANT_AddRef ( IEnumVARIANT iface)
static

Definition at line 363 of file window.c.

364 {
366  return IAccessible_AddRef(&This->IAccessible_iface);
367 }
Definition: window.c:28
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:352

◆ Window_EnumVARIANT_Clone()

static HRESULT WINAPI Window_EnumVARIANT_Clone ( IEnumVARIANT iface,
IEnumVARIANT **  ppEnum 
)
static

Definition at line 397 of file window.c.

398 {
400  FIXME("(%p)->(%p)\n", This, ppEnum);
401  return E_NOTIMPL;
402 }
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:352
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_EnumVARIANT_Next()

static HRESULT WINAPI Window_EnumVARIANT_Next ( IEnumVARIANT iface,
ULONG  celt,
VARIANT rgVar,
ULONG pCeltFetched 
)
static

Definition at line 375 of file window.c.

377 {
379  FIXME("(%p)->(%u %p %p)\n", This, celt, rgVar, pCeltFetched);
380  return E_NOTIMPL;
381 }
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:352
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_EnumVARIANT_QueryInterface()

static HRESULT WINAPI Window_EnumVARIANT_QueryInterface ( IEnumVARIANT iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 357 of file window.c.

358 {
360  return IAccessible_QueryInterface(&This->IAccessible_iface, riid, ppv);
361 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
Definition: window.c:28
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:352

◆ Window_EnumVARIANT_Release()

static ULONG WINAPI Window_EnumVARIANT_Release ( IEnumVARIANT iface)
static

Definition at line 369 of file window.c.

370 {
372  return IAccessible_Release(&This->IAccessible_iface);
373 }
Definition: window.c:28
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:352

◆ Window_EnumVARIANT_Reset()

static HRESULT WINAPI Window_EnumVARIANT_Reset ( IEnumVARIANT iface)
static

Definition at line 390 of file window.c.

391 {
393  FIXME("(%p)\n", This);
394  return E_NOTIMPL;
395 }
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:352
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_EnumVARIANT_Skip()

static HRESULT WINAPI Window_EnumVARIANT_Skip ( IEnumVARIANT iface,
ULONG  celt 
)
static

Definition at line 383 of file window.c.

384 {
386  FIXME("(%p)->(%u)\n", This, celt);
387  return E_NOTIMPL;
388 }
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:352
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accChild()

static HRESULT WINAPI Window_get_accChild ( IAccessible iface,
VARIANT  varChildID,
IDispatch **  ppdispChild 
)
static

Definition at line 134 of file window.c.

136 {
137  Window *This = impl_from_Window(iface);
138  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varChildID), ppdispChild);
139  return E_NOTIMPL;
140 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accChildCount()

static HRESULT WINAPI Window_get_accChildCount ( IAccessible iface,
LONG pcountChildren 
)
static

Definition at line 127 of file window.c.

128 {
129  Window *This = impl_from_Window(iface);
130  FIXME("(%p)->(%p)\n", This, pcountChildren);
131  return E_NOTIMPL;
132 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accDefaultAction()

static HRESULT WINAPI Window_get_accDefaultAction ( IAccessible iface,
VARIANT  varID,
BSTR pszDefaultAction 
)
static

Definition at line 215 of file window.c.

217 {
218  Window *This = impl_from_Window(iface);
219  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszDefaultAction);
220  return E_NOTIMPL;
221 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accDescription()

static HRESULT WINAPI Window_get_accDescription ( IAccessible iface,
VARIANT  varID,
BSTR pszDescription 
)
static

Definition at line 156 of file window.c.

158 {
159  Window *This = impl_from_Window(iface);
160  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszDescription);
161  return E_NOTIMPL;
162 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accFocus()

static HRESULT WINAPI Window_get_accFocus ( IAccessible iface,
VARIANT pvarID 
)
static

Definition at line 201 of file window.c.

202 {
203  Window *This = impl_from_Window(iface);
204  FIXME("(%p)->(%p)\n", This, pvarID);
205  return E_NOTIMPL;
206 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accHelp()

static HRESULT WINAPI Window_get_accHelp ( IAccessible iface,
VARIANT  varID,
BSTR pszHelp 
)
static

Definition at line 178 of file window.c.

179 {
180  Window *This = impl_from_Window(iface);
181  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszHelp);
182  return E_NOTIMPL;
183 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accHelpTopic()

static HRESULT WINAPI Window_get_accHelpTopic ( IAccessible iface,
BSTR pszHelpFile,
VARIANT  varID,
LONG pidTopic 
)
static

Definition at line 185 of file window.c.

187 {
188  Window *This = impl_from_Window(iface);
189  FIXME("(%p)->(%p %s %p)\n", This, pszHelpFile, debugstr_variant(&varID), pidTopic);
190  return E_NOTIMPL;
191 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accKeyboardShortcut()

static HRESULT WINAPI Window_get_accKeyboardShortcut ( IAccessible iface,
VARIANT  varID,
BSTR pszKeyboardShortcut 
)
static

Definition at line 193 of file window.c.

195 {
196  Window *This = impl_from_Window(iface);
197  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszKeyboardShortcut);
198  return E_NOTIMPL;
199 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accName()

static HRESULT WINAPI Window_get_accName ( IAccessible iface,
VARIANT  varID,
BSTR pszName 
)
static

Definition at line 142 of file window.c.

143 {
144  Window *This = impl_from_Window(iface);
145  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszName);
146  return E_NOTIMPL;
147 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accParent()

static HRESULT WINAPI Window_get_accParent ( IAccessible iface,
IDispatch **  ppdispParent 
)
static

Definition at line 120 of file window.c.

121 {
122  Window *This = impl_from_Window(iface);
123  FIXME("(%p)->(%p)\n", This, ppdispParent);
124  return E_NOTIMPL;
125 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accRole()

static HRESULT WINAPI Window_get_accRole ( IAccessible iface,
VARIANT  varID,
VARIANT pvarRole 
)
static

Definition at line 164 of file window.c.

165 {
166  Window *This = impl_from_Window(iface);
167  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pvarRole);
168  return E_NOTIMPL;
169 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accSelection()

static HRESULT WINAPI Window_get_accSelection ( IAccessible iface,
VARIANT pvarID 
)
static

Definition at line 208 of file window.c.

209 {
210  Window *This = impl_from_Window(iface);
211  FIXME("(%p)->(%p)\n", This, pvarID);
212  return E_NOTIMPL;
213 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accState()

static HRESULT WINAPI Window_get_accState ( IAccessible iface,
VARIANT  varID,
VARIANT pvarState 
)
static

Definition at line 171 of file window.c.

172 {
173  Window *This = impl_from_Window(iface);
174  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pvarState);
175  return E_NOTIMPL;
176 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_get_accValue()

static HRESULT WINAPI Window_get_accValue ( IAccessible iface,
VARIANT  varID,
BSTR pszValue 
)
static

Definition at line 149 of file window.c.

150 {
151  Window *This = impl_from_Window(iface);
152  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszValue);
153  return E_NOTIMPL;
154 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_GetIDsOfNames()

static HRESULT WINAPI Window_GetIDsOfNames ( IAccessible iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 101 of file window.c.

103 {
104  Window *This = impl_from_Window(iface);
105  FIXME("(%p)->(%s %p %u %x %p)\n", This, debugstr_guid(riid),
106  rgszNames, cNames, lcid, rgDispId);
107  return E_NOTIMPL;
108 }
REFIID riid
Definition: precomp.h:44
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define debugstr_guid
Definition: kernel32.h:35
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_GetTypeInfo()

static HRESULT WINAPI Window_GetTypeInfo ( IAccessible iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 93 of file window.c.

95 {
96  Window *This = impl_from_Window(iface);
97  FIXME("(%p)->(%u %x %p)\n", This, iTInfo, lcid, ppTInfo);
98  return E_NOTIMPL;
99 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_GetTypeInfoCount()

static HRESULT WINAPI Window_GetTypeInfoCount ( IAccessible iface,
UINT pctinfo 
)
static

Definition at line 86 of file window.c.

87 {
88  Window *This = impl_from_Window(iface);
89  FIXME("(%p)->(%p)\n", This, pctinfo);
90  return E_NOTIMPL;
91 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_Invoke()

static HRESULT WINAPI Window_Invoke ( IAccessible iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 110 of file window.c.

113 {
114  Window *This = impl_from_Window(iface);
115  FIXME("(%p)->(%x %s %x %x %p %p %p %p)\n", This, dispIdMember, debugstr_guid(riid),
116  lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
117  return E_NOTIMPL;
118 }
REFIID riid
Definition: precomp.h:44
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
#define debugstr_guid
Definition: kernel32.h:35
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:534
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_OleWindow_AddRef()

static ULONG WINAPI Window_OleWindow_AddRef ( IOleWindow iface)
static

Definition at line 318 of file window.c.

319 {
321  return IAccessible_AddRef(&This->IAccessible_iface);
322 }
Definition: window.c:28
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:307

◆ Window_OleWindow_ContextSensitiveHelp()

static HRESULT WINAPI Window_OleWindow_ContextSensitiveHelp ( IOleWindow iface,
BOOL  fEnterMode 
)
static

Definition at line 337 of file window.c.

338 {
340  FIXME("(%p)->(%x)\n", This, fEnterMode);
341  return E_NOTIMPL;
342 }
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:307
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_OleWindow_GetWindow()

static HRESULT WINAPI Window_OleWindow_GetWindow ( IOleWindow iface,
HWND phwnd 
)
static

Definition at line 330 of file window.c.

331 {
333  FIXME("(%p)->(%p)\n", This, phwnd);
334  return E_NOTIMPL;
335 }
Definition: window.c:28
#define FIXME(fmt,...)
Definition: debug.h:111
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:307
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_OleWindow_QueryInterface()

static HRESULT WINAPI Window_OleWindow_QueryInterface ( IOleWindow iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 312 of file window.c.

313 {
315  return IAccessible_QueryInterface(&This->IAccessible_iface, riid, ppv);
316 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
Definition: window.c:28
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:307

◆ Window_OleWindow_Release()

static ULONG WINAPI Window_OleWindow_Release ( IOleWindow iface)
static

Definition at line 324 of file window.c.

325 {
327  return IAccessible_Release(&This->IAccessible_iface);
328 }
Definition: window.c:28
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:307

◆ Window_put_accName()

static HRESULT WINAPI Window_put_accName ( IAccessible iface,
VARIANT  varID,
BSTR  pszName 
)
static

Definition at line 262 of file window.c.

263 {
264  Window *This = impl_from_Window(iface);
265  FIXME("(%p)->(%s %s)\n", This, debugstr_variant(&varID), debugstr_w(pszName));
266  return E_NOTIMPL;
267 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_put_accValue()

static HRESULT WINAPI Window_put_accValue ( IAccessible iface,
VARIANT  varID,
BSTR  pszValue 
)
static

Definition at line 269 of file window.c.

270 {
271  Window *This = impl_from_Window(iface);
272  FIXME("(%p)->(%s %s)\n", This, debugstr_variant(&varID), debugstr_w(pszValue));
273  return E_NOTIMPL;
274 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_QueryInterface()

static HRESULT WINAPI Window_QueryInterface ( IAccessible iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 41 of file window.c.

42 {
43  Window *This = impl_from_Window(iface);
44 
45  TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
46 
47  if(IsEqualIID(riid, &IID_IAccessible) ||
50  *ppv = iface;
51  }else if(IsEqualIID(riid, &IID_IOleWindow)) {
52  *ppv = &This->IOleWindow_iface;
53  }else if(IsEqualIID(riid, &IID_IEnumVARIANT)) {
54  *ppv = &This->IEnumVARIANT_iface;
55  }else {
56  WARN("no interface: %s\n", debugstr_guid(riid));
57  *ppv = NULL;
58  return E_NOINTERFACE;
59  }
60 
61  IAccessible_AddRef(iface);
62  return S_OK;
63 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID riid
Definition: precomp.h:44
#define WARN(fmt,...)
Definition: debug.h:112
REFIID LPVOID * ppv
Definition: atlbase.h:39
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: window.c:28
smooth NULL
Definition: ftsmooth.c:416
#define debugstr_guid
Definition: kernel32.h:35
#define TRACE(s)
Definition: solgame.cpp:4
const GUID IID_IUnknown
const GUID IID_IDispatch
#define S_OK
Definition: intsafe.h:51
const GUID IID_IOleWindow
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95

◆ Window_Release()

static ULONG WINAPI Window_Release ( IAccessible iface)
static

Definition at line 74 of file window.c.

75 {
76  Window *This = impl_from_Window(iface);
78 
79  TRACE("(%p) ref = %u\n", This, ref);
80 
81  if(!ref)
82  heap_free(This);
83  return ref;
84 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:36
Definition: send.c:48
Definition: window.c:28
GLenum GLint ref
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4
#define InterlockedDecrement
Definition: armddk.h:52
unsigned int ULONG
Definition: retypes.h:1
static BOOL heap_free(void *mem)
Definition: appwiz.h:75

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( oleacc  )

Variable Documentation

◆ WindowEnumVARIANTVtbl

const IEnumVARIANTVtbl WindowEnumVARIANTVtbl
static
Initial value:
= {
}
static HRESULT WINAPI Window_EnumVARIANT_Clone(IEnumVARIANT *iface, IEnumVARIANT **ppEnum)
Definition: window.c:397
static HRESULT WINAPI Window_EnumVARIANT_Reset(IEnumVARIANT *iface)
Definition: window.c:390
static ULONG WINAPI Window_EnumVARIANT_AddRef(IEnumVARIANT *iface)
Definition: window.c:363
static HRESULT WINAPI Window_EnumVARIANT_QueryInterface(IEnumVARIANT *iface, REFIID riid, void **ppv)
Definition: window.c:357
static ULONG WINAPI Window_EnumVARIANT_Release(IEnumVARIANT *iface)
Definition: window.c:369
static HRESULT WINAPI Window_EnumVARIANT_Skip(IEnumVARIANT *iface, ULONG celt)
Definition: window.c:383
static HRESULT WINAPI Window_EnumVARIANT_Next(IEnumVARIANT *iface, ULONG celt, VARIANT *rgVar, ULONG *pCeltFetched)
Definition: window.c:375

Definition at line 404 of file window.c.

Referenced by create_window_object().

◆ WindowOleWindowVtbl

const IOleWindowVtbl WindowOleWindowVtbl
static
Initial value:
= {
}
static ULONG WINAPI Window_OleWindow_AddRef(IOleWindow *iface)
Definition: window.c:318
static ULONG WINAPI Window_OleWindow_Release(IOleWindow *iface)
Definition: window.c:324
static HRESULT WINAPI Window_OleWindow_ContextSensitiveHelp(IOleWindow *iface, BOOL fEnterMode)
Definition: window.c:337
static HRESULT WINAPI Window_OleWindow_QueryInterface(IOleWindow *iface, REFIID riid, void **ppv)
Definition: window.c:312
static HRESULT WINAPI Window_OleWindow_GetWindow(IOleWindow *iface, HWND *phwnd)
Definition: window.c:330

Definition at line 344 of file window.c.

Referenced by create_window_object().

◆ WindowVtbl

const IAccessibleVtbl WindowVtbl
static
Initial value:
= {
}
static HRESULT WINAPI Window_get_accRole(IAccessible *iface, VARIANT varID, VARIANT *pvarRole)
Definition: window.c:164
static HRESULT WINAPI Window_get_accState(IAccessible *iface, VARIANT varID, VARIANT *pvarState)
Definition: window.c:171
static HRESULT WINAPI Window_GetIDsOfNames(IAccessible *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: window.c:101
static HRESULT WINAPI Window_accDoDefaultAction(IAccessible *iface, VARIANT varID)
Definition: window.c:255
static HRESULT WINAPI Window_get_accDefaultAction(IAccessible *iface, VARIANT varID, BSTR *pszDefaultAction)
Definition: window.c:215
static HRESULT WINAPI Window_get_accKeyboardShortcut(IAccessible *iface, VARIANT varID, BSTR *pszKeyboardShortcut)
Definition: window.c:193
static HRESULT WINAPI Window_get_accDescription(IAccessible *iface, VARIANT varID, BSTR *pszDescription)
Definition: window.c:156
static HRESULT WINAPI Window_accNavigate(IAccessible *iface, LONG navDir, VARIANT varStart, VARIANT *pvarEnd)
Definition: window.c:239
static HRESULT WINAPI Window_put_accName(IAccessible *iface, VARIANT varID, BSTR pszName)
Definition: window.c:262
static HRESULT WINAPI Window_Invoke(IAccessible *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: window.c:110
static HRESULT WINAPI Window_get_accParent(IAccessible *iface, IDispatch **ppdispParent)
Definition: window.c:120
static HRESULT WINAPI Window_accHitTest(IAccessible *iface, LONG xLeft, LONG yTop, VARIANT *pvarID)
Definition: window.c:247
static HRESULT WINAPI Window_get_accHelp(IAccessible *iface, VARIANT varID, BSTR *pszHelp)
Definition: window.c:178
static HRESULT WINAPI Window_get_accValue(IAccessible *iface, VARIANT varID, BSTR *pszValue)
Definition: window.c:149
static HRESULT WINAPI Window_QueryInterface(IAccessible *iface, REFIID riid, void **ppv)
Definition: window.c:41
static HRESULT WINAPI Window_accLocation(IAccessible *iface, LONG *pxLeft, LONG *pyTop, LONG *pcxWidth, LONG *pcyHeight, VARIANT varID)
Definition: window.c:230
static HRESULT WINAPI Window_get_accSelection(IAccessible *iface, VARIANT *pvarID)
Definition: window.c:208
static HRESULT WINAPI Window_GetTypeInfo(IAccessible *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: window.c:93
static HRESULT WINAPI Window_get_accHelpTopic(IAccessible *iface, BSTR *pszHelpFile, VARIANT varID, LONG *pidTopic)
Definition: window.c:185
static ULONG WINAPI Window_Release(IAccessible *iface)
Definition: window.c:74
static HRESULT WINAPI Window_get_accName(IAccessible *iface, VARIANT varID, BSTR *pszName)
Definition: window.c:142
static HRESULT WINAPI Window_GetTypeInfoCount(IAccessible *iface, UINT *pctinfo)
Definition: window.c:86
static HRESULT WINAPI Window_put_accValue(IAccessible *iface, VARIANT varID, BSTR pszValue)
Definition: window.c:269
static HRESULT WINAPI Window_get_accChildCount(IAccessible *iface, LONG *pcountChildren)
Definition: window.c:127
static ULONG WINAPI Window_AddRef(IAccessible *iface)
Definition: window.c:65
static HRESULT WINAPI Window_get_accFocus(IAccessible *iface, VARIANT *pvarID)
Definition: window.c:201
static HRESULT WINAPI Window_accSelect(IAccessible *iface, LONG flagsSelect, VARIANT varID)
Definition: window.c:223
static HRESULT WINAPI Window_get_accChild(IAccessible *iface, VARIANT varChildID, IDispatch **ppdispChild)
Definition: window.c:134

Definition at line 276 of file window.c.

Referenced by create_window_object().