ReactOS  0.4.13-dev-259-g5ca9c9c
window.c File Reference
#include "oleacc_private.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/heap.h"
Include dependency graph for window.c:

Go to the source code of this file.

Classes

struct  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 415 of file window.c.

416 {
417  Window *window;
418  HRESULT hres;
419 
420  if(!IsWindow(hwnd))
421  return E_FAIL;
422 
423  window = heap_alloc_zero(sizeof(Window));
424  if(!window)
425  return E_OUTOFMEMORY;
426 
427  window->IAccessible_iface.lpVtbl = &WindowVtbl;
428  window->IOleWindow_iface.lpVtbl = &WindowOleWindowVtbl;
429  window->IEnumVARIANT_iface.lpVtbl = &WindowEnumVARIANTVtbl;
430  window->ref = 1;
431 
432  hres = IAccessible_QueryInterface(&window->IAccessible_iface, iid, obj);
433  IAccessible_Release(&window->IAccessible_iface);
434  return hres;
435 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
static const IOleWindowVtbl WindowOleWindowVtbl
Definition: window.c:345
#define E_FAIL
Definition: ddrawi.h:102
Definition: window.c:29
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static const IEnumVARIANTVtbl WindowEnumVARIANTVtbl
Definition: window.c:405
static const IAccessibleVtbl WindowVtbl
Definition: window.c:277
BOOL WINAPI IsWindow(HWND hWnd)
Definition: window.c:1513
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
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 353 of file window.c.

354 {
355  return CONTAINING_RECORD(iface, Window, IEnumVARIANT_iface);
356 }
Definition: window.c: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 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 308 of file window.c.

309 {
310  return CONTAINING_RECORD(iface, Window, IOleWindow_iface);
311 }
Definition: window.c: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 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 256 of file window.c.

257 {
258  Window *This = impl_from_Window(iface);
259  FIXME("(%p)->(%s)\n", This, debugstr_variant(&varID));
260  return E_NOTIMPL;
261 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 248 of file window.c.

250 {
251  Window *This = impl_from_Window(iface);
252  FIXME("(%p)->(%d %d %p)\n", This, xLeft, yTop, pvarID);
253  return E_NOTIMPL;
254 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#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 231 of file window.c.

233 {
234  Window *This = impl_from_Window(iface);
235  FIXME("(%p)->(%p %p %p %p %s)\n", This, pxLeft, pyTop,
236  pcxWidth, pcyHeight, debugstr_variant(&varID));
237  return E_NOTIMPL;
238 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 240 of file window.c.

242 {
243  Window *This = impl_from_Window(iface);
244  FIXME("(%p)->(%d %s %p)\n", This, navDir, debugstr_variant(&varStart), pvarEnd);
245  return E_NOTIMPL;
246 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 224 of file window.c.

225 {
226  Window *This = impl_from_Window(iface);
227  FIXME("(%p)->(%x %s)\n", This, flagsSelect, debugstr_variant(&varID));
228  return E_NOTIMPL;
229 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 66 of file window.c.

67 {
68  Window *This = impl_from_Window(iface);
70 
71  TRACE("(%p) ref = %u\n", This, ref);
72  return ref;
73 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: send.c:47
Definition: window.c:29
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 364 of file window.c.

365 {
367  return IAccessible_AddRef(&This->IAccessible_iface);
368 }
Definition: window.c:29
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:353

◆ Window_EnumVARIANT_Clone()

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

Definition at line 398 of file window.c.

399 {
401  FIXME("(%p)->(%p)\n", This, ppEnum);
402  return E_NOTIMPL;
403 }
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:353
#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 376 of file window.c.

378 {
380  FIXME("(%p)->(%u %p %p)\n", This, celt, rgVar, pCeltFetched);
381  return E_NOTIMPL;
382 }
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:353
#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 358 of file window.c.

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

◆ Window_EnumVARIANT_Release()

static ULONG WINAPI Window_EnumVARIANT_Release ( IEnumVARIANT iface)
static

Definition at line 370 of file window.c.

371 {
373  return IAccessible_Release(&This->IAccessible_iface);
374 }
Definition: window.c:29
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:353

◆ Window_EnumVARIANT_Reset()

static HRESULT WINAPI Window_EnumVARIANT_Reset ( IEnumVARIANT iface)
static

Definition at line 391 of file window.c.

392 {
394  FIXME("(%p)\n", This);
395  return E_NOTIMPL;
396 }
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:353
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_EnumVARIANT_Skip()

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

Definition at line 384 of file window.c.

385 {
387  FIXME("(%p)->(%u)\n", This, celt);
388  return E_NOTIMPL;
389 }
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
static Window * impl_from_Window_EnumVARIANT(IEnumVARIANT *iface)
Definition: window.c:353
#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 135 of file window.c.

137 {
138  Window *This = impl_from_Window(iface);
139  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varChildID), ppdispChild);
140  return E_NOTIMPL;
141 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 128 of file window.c.

129 {
130  Window *This = impl_from_Window(iface);
131  FIXME("(%p)->(%p)\n", This, pcountChildren);
132  return E_NOTIMPL;
133 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#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 216 of file window.c.

218 {
219  Window *This = impl_from_Window(iface);
220  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszDefaultAction);
221  return E_NOTIMPL;
222 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 157 of file window.c.

159 {
160  Window *This = impl_from_Window(iface);
161  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszDescription);
162  return E_NOTIMPL;
163 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 202 of file window.c.

203 {
204  Window *This = impl_from_Window(iface);
205  FIXME("(%p)->(%p)\n", This, pvarID);
206  return E_NOTIMPL;
207 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#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 179 of file window.c.

180 {
181  Window *This = impl_from_Window(iface);
182  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszHelp);
183  return E_NOTIMPL;
184 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 186 of file window.c.

188 {
189  Window *This = impl_from_Window(iface);
190  FIXME("(%p)->(%p %s %p)\n", This, pszHelpFile, debugstr_variant(&varID), pidTopic);
191  return E_NOTIMPL;
192 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 194 of file window.c.

196 {
197  Window *This = impl_from_Window(iface);
198  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszKeyboardShortcut);
199  return E_NOTIMPL;
200 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 143 of file window.c.

144 {
145  Window *This = impl_from_Window(iface);
146  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszName);
147  return E_NOTIMPL;
148 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 121 of file window.c.

122 {
123  Window *This = impl_from_Window(iface);
124  FIXME("(%p)->(%p)\n", This, ppdispParent);
125  return E_NOTIMPL;
126 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#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 165 of file window.c.

166 {
167  Window *This = impl_from_Window(iface);
168  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pvarRole);
169  return E_NOTIMPL;
170 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 209 of file window.c.

210 {
211  Window *This = impl_from_Window(iface);
212  FIXME("(%p)->(%p)\n", This, pvarID);
213  return E_NOTIMPL;
214 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#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 172 of file window.c.

173 {
174  Window *This = impl_from_Window(iface);
175  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pvarState);
176  return E_NOTIMPL;
177 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 150 of file window.c.

151 {
152  Window *This = impl_from_Window(iface);
153  FIXME("(%p)->(%s %p)\n", This, debugstr_variant(&varID), pszValue);
154  return E_NOTIMPL;
155 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
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 102 of file window.c.

104 {
105  Window *This = impl_from_Window(iface);
106  FIXME("(%p)->(%s %p %u %x %p)\n", This, debugstr_guid(riid),
107  rgszNames, cNames, lcid, rgDispId);
108  return E_NOTIMPL;
109 }
REFIID riid
Definition: precomp.h:44
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#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 94 of file window.c.

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

◆ Window_GetTypeInfoCount()

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

Definition at line 87 of file window.c.

88 {
89  Window *This = impl_from_Window(iface);
90  FIXME("(%p)->(%p)\n", This, pctinfo);
91  return E_NOTIMPL;
92 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#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 111 of file window.c.

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

◆ Window_OleWindow_AddRef()

static ULONG WINAPI Window_OleWindow_AddRef ( IOleWindow iface)
static

Definition at line 319 of file window.c.

320 {
322  return IAccessible_AddRef(&This->IAccessible_iface);
323 }
Definition: window.c:29
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:308

◆ Window_OleWindow_ContextSensitiveHelp()

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

Definition at line 338 of file window.c.

339 {
341  FIXME("(%p)->(%x)\n", This, fEnterMode);
342  return E_NOTIMPL;
343 }
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:308
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Window_OleWindow_GetWindow()

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

Definition at line 331 of file window.c.

332 {
334  FIXME("(%p)->(%p)\n", This, phwnd);
335  return E_NOTIMPL;
336 }
Definition: window.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:308
#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 313 of file window.c.

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

◆ Window_OleWindow_Release()

static ULONG WINAPI Window_OleWindow_Release ( IOleWindow iface)
static

Definition at line 325 of file window.c.

326 {
328  return IAccessible_Release(&This->IAccessible_iface);
329 }
Definition: window.c:29
static Window * impl_from_Window_OleWindow(IOleWindow *iface)
Definition: window.c:308

◆ Window_put_accName()

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

Definition at line 263 of file window.c.

264 {
265  Window *This = impl_from_Window(iface);
266  FIXME("(%p)->(%s %s)\n", This, debugstr_variant(&varID), debugstr_w(pszName));
267  return E_NOTIMPL;
268 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
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 270 of file window.c.

271 {
272  Window *This = impl_from_Window(iface);
273  FIXME("(%p)->(%s %s)\n", This, debugstr_variant(&varID), debugstr_w(pszValue));
274  return E_NOTIMPL;
275 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
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 42 of file window.c.

43 {
44  Window *This = impl_from_Window(iface);
45 
46  TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
47 
48  if(IsEqualIID(riid, &IID_IAccessible) ||
51  *ppv = iface;
52  }else if(IsEqualIID(riid, &IID_IOleWindow)) {
53  *ppv = &This->IOleWindow_iface;
54  }else if(IsEqualIID(riid, &IID_IEnumVARIANT)) {
55  *ppv = &This->IEnumVARIANT_iface;
56  }else {
57  WARN("no interface: %s\n", debugstr_guid(riid));
58  *ppv = NULL;
59  return E_NOINTERFACE;
60  }
61 
62  IAccessible_AddRef(iface);
63  return S_OK;
64 }
#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 Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: window.c:29
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:59
const GUID IID_IOleWindow
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:90

◆ Window_Release()

static ULONG WINAPI Window_Release ( IAccessible iface)
static

Definition at line 75 of file window.c.

76 {
77  Window *This = impl_from_Window(iface);
79 
80  TRACE("(%p) ref = %u\n", This, ref);
81 
82  if(!ref)
83  heap_free(This);
84  return ref;
85 }
static Window * impl_from_Window(IAccessible *iface)
Definition: window.c:37
Definition: send.c:47
Definition: window.c:29
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:398
static HRESULT WINAPI Window_EnumVARIANT_Reset(IEnumVARIANT *iface)
Definition: window.c:391
static ULONG WINAPI Window_EnumVARIANT_AddRef(IEnumVARIANT *iface)
Definition: window.c:364
static HRESULT WINAPI Window_EnumVARIANT_QueryInterface(IEnumVARIANT *iface, REFIID riid, void **ppv)
Definition: window.c:358
static ULONG WINAPI Window_EnumVARIANT_Release(IEnumVARIANT *iface)
Definition: window.c:370
static HRESULT WINAPI Window_EnumVARIANT_Skip(IEnumVARIANT *iface, ULONG celt)
Definition: window.c:384
static HRESULT WINAPI Window_EnumVARIANT_Next(IEnumVARIANT *iface, ULONG celt, VARIANT *rgVar, ULONG *pCeltFetched)
Definition: window.c:376

Definition at line 405 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:319
static ULONG WINAPI Window_OleWindow_Release(IOleWindow *iface)
Definition: window.c:325
static HRESULT WINAPI Window_OleWindow_ContextSensitiveHelp(IOleWindow *iface, BOOL fEnterMode)
Definition: window.c:338
static HRESULT WINAPI Window_OleWindow_QueryInterface(IOleWindow *iface, REFIID riid, void **ppv)
Definition: window.c:313
static HRESULT WINAPI Window_OleWindow_GetWindow(IOleWindow *iface, HWND *phwnd)
Definition: window.c:331

Definition at line 345 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:165
static HRESULT WINAPI Window_get_accState(IAccessible *iface, VARIANT varID, VARIANT *pvarState)
Definition: window.c:172
static HRESULT WINAPI Window_GetIDsOfNames(IAccessible *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: window.c:102
static HRESULT WINAPI Window_accDoDefaultAction(IAccessible *iface, VARIANT varID)
Definition: window.c:256
static HRESULT WINAPI Window_get_accDefaultAction(IAccessible *iface, VARIANT varID, BSTR *pszDefaultAction)
Definition: window.c:216
static HRESULT WINAPI Window_get_accKeyboardShortcut(IAccessible *iface, VARIANT varID, BSTR *pszKeyboardShortcut)
Definition: window.c:194
static HRESULT WINAPI Window_get_accDescription(IAccessible *iface, VARIANT varID, BSTR *pszDescription)
Definition: window.c:157
static HRESULT WINAPI Window_accNavigate(IAccessible *iface, LONG navDir, VARIANT varStart, VARIANT *pvarEnd)
Definition: window.c:240
static HRESULT WINAPI Window_put_accName(IAccessible *iface, VARIANT varID, BSTR pszName)
Definition: window.c:263
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:111
static HRESULT WINAPI Window_get_accParent(IAccessible *iface, IDispatch **ppdispParent)
Definition: window.c:121
static HRESULT WINAPI Window_accHitTest(IAccessible *iface, LONG xLeft, LONG yTop, VARIANT *pvarID)
Definition: window.c:248
static HRESULT WINAPI Window_get_accHelp(IAccessible *iface, VARIANT varID, BSTR *pszHelp)
Definition: window.c:179
static HRESULT WINAPI Window_get_accValue(IAccessible *iface, VARIANT varID, BSTR *pszValue)
Definition: window.c:150
static HRESULT WINAPI Window_QueryInterface(IAccessible *iface, REFIID riid, void **ppv)
Definition: window.c:42
static HRESULT WINAPI Window_accLocation(IAccessible *iface, LONG *pxLeft, LONG *pyTop, LONG *pcxWidth, LONG *pcyHeight, VARIANT varID)
Definition: window.c:231
static HRESULT WINAPI Window_get_accSelection(IAccessible *iface, VARIANT *pvarID)
Definition: window.c:209
static HRESULT WINAPI Window_GetTypeInfo(IAccessible *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: window.c:94
static HRESULT WINAPI Window_get_accHelpTopic(IAccessible *iface, BSTR *pszHelpFile, VARIANT varID, LONG *pidTopic)
Definition: window.c:186
static ULONG WINAPI Window_Release(IAccessible *iface)
Definition: window.c:75
static HRESULT WINAPI Window_get_accName(IAccessible *iface, VARIANT varID, BSTR *pszName)
Definition: window.c:143
static HRESULT WINAPI Window_GetTypeInfoCount(IAccessible *iface, UINT *pctinfo)
Definition: window.c:87
static HRESULT WINAPI Window_put_accValue(IAccessible *iface, VARIANT varID, BSTR pszValue)
Definition: window.c:270
static HRESULT WINAPI Window_get_accChildCount(IAccessible *iface, LONG *pcountChildren)
Definition: window.c:128
static ULONG WINAPI Window_AddRef(IAccessible *iface)
Definition: window.c:66
static HRESULT WINAPI Window_get_accFocus(IAccessible *iface, VARIANT *pvarID)
Definition: window.c:202
static HRESULT WINAPI Window_accSelect(IAccessible *iface, LONG flagsSelect, VARIANT varID)
Definition: window.c:224
static HRESULT WINAPI Window_get_accChild(IAccessible *iface, VARIANT varChildID, IDispatch **ppdispChild)
Definition: window.c:135

Definition at line 277 of file window.c.

Referenced by create_window_object().