43static const WCHAR lresult_atom_prefix[] = {
'w',
'i',
'n',
'e',
'_',
'o',
'l',
'e',
'a',
'c',
'c',
':'};
51static const WCHAR richedit20aW[] = {
'R',
'i',
'c',
'h',
'E',
'd',
'i',
't',
'2',
'0',
'A',0};
52static const WCHAR richedit20wW[] = {
'R',
'i',
'c',
'h',
'E',
'd',
'i',
't',
'2',
'0',
'W',0};
106 FIXME(
"unhandled child ID variant type: %d\n",
V_VT(
v));
113 WCHAR class_name[64];
143 FIXME(
"unhandled class name idx: %x\n",
idx);
148 WARN(
"unhandled class name idx: %x\n",
idx);
172 FIXME(
"unhandled object id: %d\n", idObject);
251 static const WCHAR atom_fmt[] = {
'%',
'0',
'8',
'x',
':',
'%',
'0',
'8',
'x',
':',
'%',
'0',
'8',
'x',0};
280 hr = IStream_Seek(
stream, seek_zero, STREAM_SEEK_SET,
NULL);
291 }
else if(
stat.cbSize.u.HighPart) {
292 FIXME(
"stream size to big\n");
318 hr = IStream_Seek(
stream, seek_zero, STREAM_SEEK_SET,
NULL);
332 hr = IStream_Seek(
stream, seek_zero, STREAM_SEEK_SET,
NULL);
345 FIXME(
"{%d,%d} %p %p: stub\n", ptScreen.
x, ptScreen.
y, ppacc, pvarChild );
378 TRACE(
"%p %p\n", acc, phwnd);
380 IAccessible_AddRef(acc);
384 hres = IOleWindow_GetWindow(ow, phwnd);
385 IOleWindow_Release(ow);
386 IAccessible_Release(acc);
390 hres = IAccessible_get_accParent(acc, &
parent);
391 IAccessible_Release(acc);
399 hres = IDispatch_QueryInterface(
parent, &IID_IAccessible, (
void**)&acc);
400 IDispatch_Release(
parent);
419 return OLEACC_DllMain(hinstDLL, fdwReason,
lpvReserved);
424 return OLEACC_DllRegisterServer();
429 return OLEACC_DllUnregisterServer();
476 TRACE(
"%u %p %u\n", role, lpRole, rolemax);
484 if(rolemax > 0) lpRole[0] =
'\0';
496 TRACE(
"%u %p %u\n", role, lpRole, rolemax);
498 if(lpRole && !rolemax)
503 if(lpRole && rolemax)
530 lpRole[rolemax-1] =
'\0';
543 TRACE(
"%x %p %u\n", state_bit, state_str, state_str_len);
546 if(state_str && state_str_len)
559 if(!
ret && state_str_len)
573 TRACE(
"%x %p %u\n", state_bit, state_str, state_str_len);
575 if(state_str && !state_str_len)
579 if(state_str && state_str_len)
592 if(!
ret && state_str_len)
610 if(!
container || !children || !children_cnt)
616 hr = IAccessible_QueryInterface(
container, &IID_IEnumVARIANT, (
void**)&ev);
618 hr = IEnumVARIANT_Reset(ev);
620 hr = IEnumVARIANT_Skip(ev,
start);
622 hr = IEnumVARIANT_Next(ev,
count, children, (
ULONG*)children_cnt);
623 IEnumVARIANT_Release(ev);
627 hr = IAccessible_get_accChildCount(
container, &child_no);
637 hr = IAccessible_get_accChild(
container, children[
i], &disp);
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
HRESULT WINAPI DllRegisterServer(void)
HRESULT WINAPI DllUnregisterServer(void)
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
#define DLL_PROCESS_ATTACH
#define INVALID_HANDLE_VALUE
#define CreateFileMappingW(a, b, c, d, e, f)
#define GetCurrentProcess()
#define HeapFree(x, y, z)
#define WideCharToMultiByte
UINT WINAPI GlobalGetAtomNameW(ATOM nAtom, LPWSTR lpBuffer, int nSize)
ATOM WINAPI GlobalDeleteAtom(ATOM nAtom)
ATOM WINAPI GlobalAddAtomW(LPCWSTR lpString)
BOOL WINAPI DuplicateHandle(IN HANDLE hSourceProcessHandle, IN HANDLE hSourceHandle, IN HANDLE hTargetProcessHandle, OUT LPHANDLE lpTargetHandle, IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwOptions)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
HRESULT WINAPI CreateStreamOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM *ppstm)
HRESULT WINAPI CoReleaseMarshalData(IStream *pStream)
HRESULT WINAPI CoUnmarshalInterface(IStream *pStream, REFIID riid, LPVOID *ppv)
HRESULT WINAPI CoMarshalInterface(IStream *pStream, REFIID riid, IUnknown *pUnk, DWORD dwDestContext, void *pvDestContext, DWORD mshlFlags)
HRESULT create_client_object(HWND hwnd, const IID *iid, void **obj)
static HINSTANCE oleacc_handle
HRESULT WINAPI AccessibleObjectFromPoint(POINT ptScreen, IAccessible **ppacc, VARIANT *pvarChild)
static const WCHAR desktopW[]
HANDLE WINAPI GetProcessHandleFromHwnd(HWND hwnd)
LRESULT WINAPI LresultFromObject(REFIID riid, WPARAM wParam, LPUNKNOWN pAcc)
HRESULT WINAPI AccessibleObjectFromWindow(HWND hwnd, DWORD dwObjectID, REFIID riid, void **ppvObject)
void WINAPI GetOleaccVersionInfo(DWORD *pVersion, DWORD *pBuild)
static const WCHAR dialogW[]
HRESULT WINAPI ObjectFromLresult(LRESULT result, REFIID riid, WPARAM wParam, void **ppObject)
int convert_child_id(VARIANT *v)
UINT WINAPI GetStateTextW(DWORD state_bit, WCHAR *state_str, UINT state_str_len)
UINT WINAPI GetStateTextA(DWORD state_bit, CHAR *state_str, UINT state_str_len)
HRESULT WINAPI OLEACC_DllGetClassObject(REFCLSID, REFIID, void **)
HRESULT WINAPI AccessibleChildren(IAccessible *container, LONG start, LONG count, VARIANT *children, LONG *children_cnt)
HRESULT(WINAPI * accessible_create)(HWND, const IID *, void **)
static const WCHAR winswitchW[]
static const WCHAR lresult_atom_prefix[]
UINT WINAPI GetRoleTextA(DWORD role, LPSTR lpRole, UINT rolemax)
HRESULT WINAPI WindowFromAccessibleObject(IAccessible *acc, HWND *phwnd)
static const WCHAR richeditW[]
static const WCHAR richedit20wW[]
static accessible_create get_builtin_accessible_obj(HWND hwnd, LONG objid)
HRESULT WINAPI CreateStdAccessibleObject(HWND hwnd, LONG idObject, REFIID riidInterface, void **ppvObject)
static const WCHAR menuW[]
static const WCHAR richedit20aW[]
UINT WINAPI GetRoleTextW(DWORD role, LPWSTR lpRole, UINT rolemax)
static const WCHAR mdi_clientW[]
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLuint GLsizei GLsizei * length
GLenum GLenum GLenum GLenum mapping
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
HGLOBAL NTAPI GlobalFree(HGLOBAL hMem)
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
#define PROCESS_VM_OPERATION
#define PROCESS_DUP_HANDLE
static IN DWORD IN LPVOID lpvReserved
#define memcpy(s1, s2, n)
static HWND create_window(void)
static const struct access_res create[16]
HRESULT create_window_object(HWND, const IID *, void **) DECLSPEC_HIDDEN
HRESULT get_accpropservices_factory(REFIID, void **) DECLSPEC_HIDDEN
const GUID IID_IOleWindow
#define TOOLBARCLASSNAMEW
#define DATETIMEPICK_CLASSW
#define IsEqualGUID(rguid1, rguid2)
void WINAPI VariantInit(VARIANTARG *pVarg)
DWORD WINAPI GetCurrentProcessId(void)
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
BOOL WINAPI IsWindow(_In_opt_ HWND)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
int WINAPI LoadStringA(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPSTR lpBuffer, _In_ int cchBufferMax)
UINT WINAPI RealGetWindowClassW(_In_ HWND hwnd, _Out_writes_to_(cchClassNameMax, return) LPWSTR ptszClassName, _In_ UINT cchClassNameMax)
#define STATE_SYSTEM_VALID
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define DUPLICATE_SAME_ACCESS
#define DUPLICATE_CLOSE_SOURCE