ReactOS 0.4.15-dev-8138-g1e75ea8
propservice.c File Reference
#include <stdarg.h>
#include "oleacc_private.h"
#include "wine/debug.h"
Include dependency graph for propservice.c:

Go to the source code of this file.

Macros

#define COBJMACROS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (oleacc)
 
static HRESULT WINAPI AccPropServices_QueryInterface (IAccPropServices *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI AccPropServices_AddRef (IAccPropServices *iface)
 
static ULONG WINAPI AccPropServices_Release (IAccPropServices *iface)
 
static HRESULT WINAPI AccPropServices_SetPropValue (IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, MSAAPROPID idProp, VARIANT var)
 
static HRESULT WINAPI AccPropServices_SetPropServer (IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, const MSAAPROPID *paProps, int cProps, IAccPropServer *pServer, AnnoScope AnnoScope)
 
static HRESULT WINAPI AccPropServices_ClearProps (IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, const MSAAPROPID *paProps, int cProps)
 
static HRESULT WINAPI AccPropServices_SetHwndProp (IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, MSAAPROPID idProp, VARIANT var)
 
static HRESULT WINAPI AccPropServices_SetHwndPropStr (IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, MSAAPROPID idProp, LPWSTR str)
 
static HRESULT WINAPI AccPropServices_SetHwndPropServer (IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, const MSAAPROPID *paProps, int cProps, IAccPropServer *pServer, AnnoScope AnnoScope)
 
static HRESULT WINAPI AccPropServices_ClearHwndProps (IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, const MSAAPROPID *paProps, int cProps)
 
static HRESULT WINAPI AccPropServices_ComposeHwndIdentityString (IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, BYTE **ppIDString, DWORD *pdwIDStringLen)
 
static HRESULT WINAPI AccPropServices_DecomposeHwndIdentityString (IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, HWND *phwnd, DWORD *pidObject, DWORD *pidChild)
 
static HRESULT WINAPI AccPropServices_SetHmenuProp (IAccPropServices *iface, HMENU hmenu, DWORD idChild, MSAAPROPID idProp, VARIANT var)
 
static HRESULT WINAPI AccPropServices_SetHmenuPropStr (IAccPropServices *iface, HMENU hmenu, DWORD idChild, MSAAPROPID idProp, LPWSTR str)
 
static HRESULT WINAPI AccPropServices_SetHmenuPropServer (IAccPropServices *iface, HMENU hmenu, DWORD idChild, const MSAAPROPID *paProps, int cProps, IAccPropServer *pServer, AnnoScope AnnoScope)
 
static HRESULT WINAPI AccPropServices_ClearHmenuProps (IAccPropServices *iface, HMENU hmenu, DWORD idChild, const MSAAPROPID *paProps, int cProps)
 
static HRESULT WINAPI AccPropServices_ComposeHmenuIdentityString (IAccPropServices *iface, HMENU hmenu, DWORD idChild, BYTE **ppIDString, DWORD *pdwIDStringLen)
 
static HRESULT WINAPI AccPropServices_DecomposeHmenuIdentityString (IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, HMENU *phmenu, DWORD *pidChild)
 
static HRESULT WINAPI ClassFactory_QueryInterface (IClassFactory *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI ClassFactory_AddRef (IClassFactory *iface)
 
static ULONG WINAPI ClassFactory_Release (IClassFactory *iface)
 
static HRESULT WINAPI ClassFactory_LockServer (IClassFactory *iface, BOOL fLock)
 
static HRESULT WINAPI CAccPropServices_CreateInstance (IClassFactory *iface, IUnknown *outer, REFIID riid, void **ppv)
 
HRESULT get_accpropservices_factory (REFIID riid, void **ppv)
 

Variables

static const IAccPropServicesVtbl AccPropServicesVtbl
 
static IAccPropServices AccPropServices = { &AccPropServicesVtbl }
 
static const IClassFactoryVtbl CAccPropServicesFactoryVtbl
 
static IClassFactory CAccPropServicesFactory = { &CAccPropServicesFactoryVtbl }
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 19 of file propservice.c.

Function Documentation

◆ AccPropServices_AddRef()

static ULONG WINAPI AccPropServices_AddRef ( IAccPropServices iface)
static

Definition at line 47 of file propservice.c.

48{
49 return 2;
50}

◆ AccPropServices_ClearHmenuProps()

static HRESULT WINAPI AccPropServices_ClearHmenuProps ( IAccPropServices iface,
HMENU  hmenu,
DWORD  idChild,
const MSAAPROPID paProps,
int  cProps 
)
static

Definition at line 141 of file propservice.c.

143{
144 FIXME("(%p %u %p %d)\n", hmenu, idChild, paProps, cProps);
145 return E_NOTIMPL;
146}
#define FIXME(fmt,...)
Definition: debug.h:114
#define E_NOTIMPL
Definition: ddrawi.h:99
static HMENU hmenu
Definition: win.c:66

◆ AccPropServices_ClearHwndProps()

static HRESULT WINAPI AccPropServices_ClearHwndProps ( IAccPropServices iface,
HWND  hwnd,
DWORD  idObject,
DWORD  idChild,
const MSAAPROPID paProps,
int  cProps 
)
static

Definition at line 99 of file propservice.c.

101{
102 FIXME("(%p %u %u %p %d)\n", hwnd, idObject, idChild, paProps, cProps);
103 return E_NOTIMPL;
104}
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023

◆ AccPropServices_ClearProps()

static HRESULT WINAPI AccPropServices_ClearProps ( IAccPropServices iface,
const BYTE pIDString,
DWORD  dwIDStringLen,
const MSAAPROPID paProps,
int  cProps 
)
static

Definition at line 71 of file propservice.c.

73{
74 FIXME("(%p %u %p %d)\n", pIDString, dwIDStringLen, paProps, cProps);
75 return E_NOTIMPL;
76}

◆ AccPropServices_ComposeHmenuIdentityString()

static HRESULT WINAPI AccPropServices_ComposeHmenuIdentityString ( IAccPropServices iface,
HMENU  hmenu,
DWORD  idChild,
BYTE **  ppIDString,
DWORD pdwIDStringLen 
)
static

Definition at line 148 of file propservice.c.

150{
151 FIXME("(%p %u %p %p)\n", hmenu, idChild, ppIDString, pdwIDStringLen);
152 return E_NOTIMPL;
153}

◆ AccPropServices_ComposeHwndIdentityString()

static HRESULT WINAPI AccPropServices_ComposeHwndIdentityString ( IAccPropServices iface,
HWND  hwnd,
DWORD  idObject,
DWORD  idChild,
BYTE **  ppIDString,
DWORD pdwIDStringLen 
)
static

Definition at line 106 of file propservice.c.

108{
109 FIXME("(%p %u %u %p %p)\n", hwnd, idObject, idChild, ppIDString, pdwIDStringLen);
110 return E_NOTIMPL;
111}

◆ AccPropServices_DecomposeHmenuIdentityString()

static HRESULT WINAPI AccPropServices_DecomposeHmenuIdentityString ( IAccPropServices iface,
const BYTE pIDString,
DWORD  dwIDStringLen,
HMENU phmenu,
DWORD pidChild 
)
static

Definition at line 155 of file propservice.c.

157{
158 FIXME("(%p %u %p %p\n", pIDString, dwIDStringLen, phmenu, pidChild);
159 return E_NOTIMPL;
160}

◆ AccPropServices_DecomposeHwndIdentityString()

static HRESULT WINAPI AccPropServices_DecomposeHwndIdentityString ( IAccPropServices iface,
const BYTE pIDString,
DWORD  dwIDStringLen,
HWND phwnd,
DWORD pidObject,
DWORD pidChild 
)
static

Definition at line 113 of file propservice.c.

115{
116 FIXME("(%p %u %p %p %p)\n", pIDString, dwIDStringLen, phwnd, pidObject, pidChild);
117 return E_NOTIMPL;
118}

◆ AccPropServices_QueryInterface()

static HRESULT WINAPI AccPropServices_QueryInterface ( IAccPropServices iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 29 of file propservice.c.

30{
32 TRACE("(IID_IUnknown %p)\n", ppv);
33 *ppv = iface;
34 }else if(IsEqualGUID(&IID_IAccPropServices, riid)) {
35 TRACE("(IID_IAccPropServices %p)\n", ppv);
36 *ppv = iface;
37 }else {
38 FIXME("Unknown iface %s\n", debugstr_guid(riid));
39 *ppv = NULL;
40 return E_NOINTERFACE;
41 }
42
43 IUnknown_AddRef((IUnknown*)*ppv);
44 return S_OK;
45}
const GUID IID_IUnknown
#define NULL
Definition: types.h:112
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define S_OK
Definition: intsafe.h:52
#define debugstr_guid
Definition: kernel32.h:35
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ AccPropServices_Release()

static ULONG WINAPI AccPropServices_Release ( IAccPropServices iface)
static

Definition at line 52 of file propservice.c.

53{
54 return 1;
55}

◆ AccPropServices_SetHmenuProp()

static HRESULT WINAPI AccPropServices_SetHmenuProp ( IAccPropServices iface,
HMENU  hmenu,
DWORD  idChild,
MSAAPROPID  idProp,
VARIANT  var 
)
static

Definition at line 120 of file propservice.c.

122{
123 FIXME("(%p %u %s %s)\n", hmenu, idChild, debugstr_guid(&idProp), debugstr_variant(&var));
124 return E_NOTIMPL;
125}
const char * var
Definition: shader.c:5666
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46

◆ AccPropServices_SetHmenuPropServer()

static HRESULT WINAPI AccPropServices_SetHmenuPropServer ( IAccPropServices iface,
HMENU  hmenu,
DWORD  idChild,
const MSAAPROPID paProps,
int  cProps,
IAccPropServer pServer,
AnnoScope  AnnoScope 
)
static

Definition at line 134 of file propservice.c.

136{
137 FIXME("(%p %u %p %d %p %u)\n", hmenu, idChild, paProps, cProps, pServer, AnnoScope);
138 return E_NOTIMPL;
139}
AnnoScope
Definition: oleacc.idl:151

◆ AccPropServices_SetHmenuPropStr()

static HRESULT WINAPI AccPropServices_SetHmenuPropStr ( IAccPropServices iface,
HMENU  hmenu,
DWORD  idChild,
MSAAPROPID  idProp,
LPWSTR  str 
)
static

Definition at line 127 of file propservice.c.

129{
130 FIXME("(%p %u %s %s)\n", hmenu, idChild, debugstr_guid(&idProp), debugstr_w(str));
131 return E_NOTIMPL;
132}
#define debugstr_w
Definition: kernel32.h:32
const WCHAR * str

◆ AccPropServices_SetHwndProp()

static HRESULT WINAPI AccPropServices_SetHwndProp ( IAccPropServices iface,
HWND  hwnd,
DWORD  idObject,
DWORD  idChild,
MSAAPROPID  idProp,
VARIANT  var 
)
static

Definition at line 78 of file propservice.c.

80{
81 FIXME("(%p %u %u %s %s)\n", hwnd, idObject, idChild, debugstr_guid(&idProp), debugstr_variant(&var));
82 return E_NOTIMPL;
83}

◆ AccPropServices_SetHwndPropServer()

static HRESULT WINAPI AccPropServices_SetHwndPropServer ( IAccPropServices iface,
HWND  hwnd,
DWORD  idObject,
DWORD  idChild,
const MSAAPROPID paProps,
int  cProps,
IAccPropServer pServer,
AnnoScope  AnnoScope 
)
static

Definition at line 92 of file propservice.c.

94{
95 FIXME("(%p %u %u %p %d %p %u)\n", hwnd, idObject, idChild, paProps, cProps, pServer, AnnoScope);
96 return E_NOTIMPL;
97}

◆ AccPropServices_SetHwndPropStr()

static HRESULT WINAPI AccPropServices_SetHwndPropStr ( IAccPropServices iface,
HWND  hwnd,
DWORD  idObject,
DWORD  idChild,
MSAAPROPID  idProp,
LPWSTR  str 
)
static

Definition at line 85 of file propservice.c.

87{
88 FIXME("(%p %u %u %s %s)\n", hwnd, idObject, idChild, debugstr_guid(&idProp), debugstr_w(str));
89 return E_NOTIMPL;
90}

◆ AccPropServices_SetPropServer()

static HRESULT WINAPI AccPropServices_SetPropServer ( IAccPropServices iface,
const BYTE pIDString,
DWORD  dwIDStringLen,
const MSAAPROPID paProps,
int  cProps,
IAccPropServer pServer,
AnnoScope  AnnoScope 
)
static

Definition at line 64 of file propservice.c.

66{
67 FIXME("(%p %u %p %d %p %u)\n", pIDString, dwIDStringLen, paProps, cProps, pServer, AnnoScope);
68 return E_NOTIMPL;
69}

◆ AccPropServices_SetPropValue()

static HRESULT WINAPI AccPropServices_SetPropValue ( IAccPropServices iface,
const BYTE pIDString,
DWORD  dwIDStringLen,
MSAAPROPID  idProp,
VARIANT  var 
)
static

Definition at line 57 of file propservice.c.

59{
60 FIXME("(%p %u %s %s)\n", pIDString, dwIDStringLen, debugstr_guid(&idProp), debugstr_variant(&var));
61 return E_NOTIMPL;
62}

◆ CAccPropServices_CreateInstance()

static HRESULT WINAPI CAccPropServices_CreateInstance ( IClassFactory iface,
IUnknown outer,
REFIID  riid,
void **  ppv 
)
static

Definition at line 224 of file propservice.c.

226{
227 TRACE("(%p %s %p)\n", outer, debugstr_guid(riid), ppv);
228
229 if(outer) {
230 *ppv = NULL;
232 }
233
234 return IAccPropServices_QueryInterface(&AccPropServices, riid, ppv);
235}
static IAccPropServices AccPropServices
Definition: propservice.c:183
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:2662

◆ ClassFactory_AddRef()

static ULONG WINAPI ClassFactory_AddRef ( IClassFactory iface)
static

Definition at line 206 of file propservice.c.

207{
208 TRACE("(%p)\n", iface);
209 return 2;
210}

◆ ClassFactory_LockServer()

static HRESULT WINAPI ClassFactory_LockServer ( IClassFactory iface,
BOOL  fLock 
)
static

Definition at line 218 of file propservice.c.

219{
220 TRACE("(%p)->(%x)\n", iface, fLock);
221 return S_OK;
222}

◆ ClassFactory_QueryInterface()

static HRESULT WINAPI ClassFactory_QueryInterface ( IClassFactory iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 185 of file propservice.c.

186{
187 *ppv = NULL;
188
190 TRACE("(%p)->(IID_IUnknown %p)\n", iface, ppv);
191 *ppv = iface;
192 }else if(IsEqualGUID(&IID_IClassFactory, riid)) {
193 TRACE("(%p)->(IID_IClassFactory %p)\n", iface, ppv);
194 *ppv = iface;
195 }
196
197 if(*ppv) {
198 IUnknown_AddRef((IUnknown*)*ppv);
199 return S_OK;
200 }
201
202 FIXME("(%p)->(%s %p)\n", iface, debugstr_guid(riid), ppv);
203 return E_NOINTERFACE;
204}
const GUID IID_IClassFactory

◆ ClassFactory_Release()

static ULONG WINAPI ClassFactory_Release ( IClassFactory iface)
static

Definition at line 212 of file propservice.c.

213{
214 TRACE("(%p)\n", iface);
215 return 1;
216}

◆ get_accpropservices_factory()

HRESULT get_accpropservices_factory ( REFIID  riid,
void **  ppv 
)

Definition at line 247 of file propservice.c.

248{
249 return IClassFactory_QueryInterface(&CAccPropServicesFactory, riid, ppv);
250}
static IClassFactory CAccPropServicesFactory
Definition: propservice.c:245

Referenced by DllGetClassObject().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( oleacc  )

Variable Documentation

◆ AccPropServices

IAccPropServices AccPropServices = { &AccPropServicesVtbl }
static

Definition at line 183 of file propservice.c.

Referenced by CAccPropServices_CreateInstance().

◆ AccPropServicesVtbl

const IAccPropServicesVtbl AccPropServicesVtbl
static
Initial value:
= {
}
static HRESULT WINAPI AccPropServices_SetHwndPropServer(IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, const MSAAPROPID *paProps, int cProps, IAccPropServer *pServer, AnnoScope AnnoScope)
Definition: propservice.c:92
static HRESULT WINAPI AccPropServices_SetPropValue(IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, MSAAPROPID idProp, VARIANT var)
Definition: propservice.c:57
static HRESULT WINAPI AccPropServices_SetHmenuPropStr(IAccPropServices *iface, HMENU hmenu, DWORD idChild, MSAAPROPID idProp, LPWSTR str)
Definition: propservice.c:127
static HRESULT WINAPI AccPropServices_SetHwndProp(IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, MSAAPROPID idProp, VARIANT var)
Definition: propservice.c:78
static HRESULT WINAPI AccPropServices_SetHwndPropStr(IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, MSAAPROPID idProp, LPWSTR str)
Definition: propservice.c:85
static HRESULT WINAPI AccPropServices_QueryInterface(IAccPropServices *iface, REFIID riid, void **ppv)
Definition: propservice.c:29
static HRESULT WINAPI AccPropServices_DecomposeHwndIdentityString(IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, HWND *phwnd, DWORD *pidObject, DWORD *pidChild)
Definition: propservice.c:113
static HRESULT WINAPI AccPropServices_ClearProps(IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, const MSAAPROPID *paProps, int cProps)
Definition: propservice.c:71
static HRESULT WINAPI AccPropServices_ComposeHmenuIdentityString(IAccPropServices *iface, HMENU hmenu, DWORD idChild, BYTE **ppIDString, DWORD *pdwIDStringLen)
Definition: propservice.c:148
static HRESULT WINAPI AccPropServices_ClearHwndProps(IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, const MSAAPROPID *paProps, int cProps)
Definition: propservice.c:99
static ULONG WINAPI AccPropServices_Release(IAccPropServices *iface)
Definition: propservice.c:52
static HRESULT WINAPI AccPropServices_DecomposeHmenuIdentityString(IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, HMENU *phmenu, DWORD *pidChild)
Definition: propservice.c:155
static HRESULT WINAPI AccPropServices_SetHmenuProp(IAccPropServices *iface, HMENU hmenu, DWORD idChild, MSAAPROPID idProp, VARIANT var)
Definition: propservice.c:120
static HRESULT WINAPI AccPropServices_SetHmenuPropServer(IAccPropServices *iface, HMENU hmenu, DWORD idChild, const MSAAPROPID *paProps, int cProps, IAccPropServer *pServer, AnnoScope AnnoScope)
Definition: propservice.c:134
static ULONG WINAPI AccPropServices_AddRef(IAccPropServices *iface)
Definition: propservice.c:47
static HRESULT WINAPI AccPropServices_ComposeHwndIdentityString(IAccPropServices *iface, HWND hwnd, DWORD idObject, DWORD idChild, BYTE **ppIDString, DWORD *pdwIDStringLen)
Definition: propservice.c:106
static HRESULT WINAPI AccPropServices_SetPropServer(IAccPropServices *iface, const BYTE *pIDString, DWORD dwIDStringLen, const MSAAPROPID *paProps, int cProps, IAccPropServer *pServer, AnnoScope AnnoScope)
Definition: propservice.c:64
static HRESULT WINAPI AccPropServices_ClearHmenuProps(IAccPropServices *iface, HMENU hmenu, DWORD idChild, const MSAAPROPID *paProps, int cProps)
Definition: propservice.c:141

Definition at line 162 of file propservice.c.

◆ CAccPropServicesFactory

IClassFactory CAccPropServicesFactory = { &CAccPropServicesFactoryVtbl }
static

Definition at line 245 of file propservice.c.

Referenced by get_accpropservices_factory().

◆ CAccPropServicesFactoryVtbl

const IClassFactoryVtbl CAccPropServicesFactoryVtbl
static
Initial value:
= {
}
static HRESULT WINAPI CAccPropServices_CreateInstance(IClassFactory *iface, IUnknown *outer, REFIID riid, void **ppv)
Definition: propservice.c:224
static HRESULT WINAPI ClassFactory_LockServer(IClassFactory *iface, BOOL fLock)
Definition: propservice.c:218
static ULONG WINAPI ClassFactory_Release(IClassFactory *iface)
Definition: propservice.c:212
static HRESULT WINAPI ClassFactory_QueryInterface(IClassFactory *iface, REFIID riid, void **ppv)
Definition: propservice.c:185
static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface)
Definition: propservice.c:206

Definition at line 237 of file propservice.c.