Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
40a311c8
Commit
40a311c8
authored
May 05, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc: Added proxies for oleacc.idl.
parent
7839aa22
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
16 deletions
+40
-16
Makefile.in
dlls/oleacc/Makefile.in
+3
-1
main.c
dlls/oleacc/main.c
+25
-5
oleacc_classes.idl
dlls/oleacc/oleacc_classes.idl
+8
-0
oleacc_private.h
dlls/oleacc/oleacc_private.h
+2
-1
propservice.c
dlls/oleacc/propservice.c
+2
-9
No files found.
dlls/oleacc/Makefile.in
View file @
40a311c8
MODULE
=
oleacc.dll
IMPORTLIB
=
oleacc
IMPORTS
=
uuid oleaut32 ole32 user32
IMPORTS
=
uuid oleaut32 ole32 user32
rpcrt4
C_SRCS
=
\
client.c
\
...
...
@@ -11,3 +11,5 @@ C_SRCS = \
IDL_SRCS
=
oleacc_classes.idl
RC_SRCS
=
oleacc.rc
dlldata_EXTRADEFS
=
-DENTRY_PREFIX
=
OLEACC_
-DPROXY_DELEGATION
-DWINE_REGISTER_DLL
dlls/oleacc/main.c
View file @
40a311c8
...
...
@@ -49,6 +49,11 @@ static const WCHAR richedit20wW[] = {'R','i','c','h','E','d','i','t','2','0','W'
typedef
HRESULT
(
WINAPI
*
accessible_create
)(
HWND
,
const
IID
*
,
void
**
);
extern
HRESULT
WINAPI
OLEACC_DllGetClassObject
(
REFCLSID
,
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINAPI
OLEACC_DllMain
(
HINSTANCE
,
DWORD
,
void
*
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
OLEACC_DllRegisterServer
(
void
)
DECLSPEC_HIDDEN
;
extern
HRESULT
WINAPI
OLEACC_DllUnregisterServer
(
void
)
DECLSPEC_HIDDEN
;
static
struct
{
const
WCHAR
*
name
;
DWORD
idx
;
...
...
@@ -406,19 +411,34 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason,
DisableThreadLibraryCalls
(
hinstDLL
);
break
;
}
return
TRUE
;
return
OLEACC_DllMain
(
hinstDLL
,
fdwReason
,
lpvReserved
);
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
return
__wine_register_resources
(
oleacc_handle
);
return
OLEACC_DllRegisterServer
();
}
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
return
__wine_unregister_resources
(
oleacc_handle
);
return
OLEACC_DllUnregisterServer
();
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
iid
,
void
**
ppv
)
{
if
(
IsEqualGUID
(
&
CLSID_CAccPropServices
,
rclsid
))
{
TRACE
(
"(CLSID_CAccPropServices %s %p)
\n
"
,
debugstr_guid
(
iid
),
ppv
);
return
get_accpropservices_factory
(
iid
,
ppv
);
}
if
(
IsEqualGUID
(
&
CLSID_PSFactoryBuffer
,
rclsid
))
{
TRACE
(
"(CLSID_PSFactoryBuffer %s %p)
\n
"
,
debugstr_guid
(
iid
),
ppv
);
return
OLEACC_DllGetClassObject
(
rclsid
,
iid
,
ppv
);
}
FIXME
(
"%s %s %p: stub
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
),
ppv
);
return
E_NOTIMPL
;
}
void
WINAPI
GetOleaccVersionInfo
(
DWORD
*
pVersion
,
DWORD
*
pBuild
)
...
...
dlls/oleacc/oleacc_classes.idl
View file @
40a311c8
...
...
@@ -17,5 +17,13 @@
*/
#
pragma
makedep
regtypelib
#
pragma
makedep
proxy
#
pragma
makedep
register
#
include
"oleacc.idl"
[
threading
(
both
),
uuid
(
03022430
-
abc4
-
11
d0
-
bde2
-
00
aa001a1953
)
/*
IAccessibleHandler
*/
]
coclass
PSFactoryBuffer
{
interface
IFactoryBuffer
; }
dlls/oleacc/oleacc_private.h
View file @
40a311c8
...
...
@@ -16,10 +16,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include
<oleacc.h>
#include
"oleacc_classes.h"
HRESULT
create_client_object
(
HWND
,
const
IID
*
,
void
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_window_object
(
HWND
,
const
IID
*
,
void
**
)
DECLSPEC_HIDDEN
;
HRESULT
get_accpropservices_factory
(
REFIID
,
void
**
)
DECLSPEC_HIDDEN
;
int
convert_child_id
(
VARIANT
*
v
)
DECLSPEC_HIDDEN
;
...
...
dlls/oleacc/propservice.c
View file @
40a311c8
...
...
@@ -20,7 +20,6 @@
#include <stdarg.h>
#include "oleacc.h"
#include "oleacc_private.h"
#include "wine/debug.h"
...
...
@@ -245,13 +244,7 @@ static const IClassFactoryVtbl CAccPropServicesFactoryVtbl = {
static
IClassFactory
CAccPropServicesFactory
=
{
&
CAccPropServicesFactoryVtbl
};
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
iid
,
void
**
ppv
)
HRESULT
get_accpropservices_factory
(
REFIID
r
iid
,
void
**
ppv
)
{
if
(
IsEqualGUID
(
&
CLSID_CAccPropServices
,
rclsid
))
{
TRACE
(
"(CLSID_CAccPropServices %s %p)
\n
"
,
debugstr_guid
(
iid
),
ppv
);
return
IClassFactory_QueryInterface
(
&
CAccPropServicesFactory
,
iid
,
ppv
);
}
FIXME
(
"%s %s %p: stub
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
),
ppv
);
return
E_NOTIMPL
;
return
IClassFactory_QueryInterface
(
&
CAccPropServicesFactory
,
riid
,
ppv
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment