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
1bd26cca
Commit
1bd26cca
authored
Dec 01, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Use a dlldata.c file instead of maintaining the data manually.
parent
9bf60549
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
21 deletions
+8
-21
Makefile.in
dlls/ole32/Makefile.in
+4
-1
compobj_private.h
dlls/ole32/compobj_private.h
+3
-0
oleproxy.c
dlls/ole32/oleproxy.c
+1
-20
No files found.
dlls/ole32/Makefile.in
View file @
1bd26cca
EXTRADEFS
=
-D_OLE32_
-DCOM_NO_WINDOWS_H
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
...
...
@@ -6,6 +5,8 @@ VPATH = @srcdir@
MODULE
=
ole32.dll
IMPORTLIB
=
ole32
IMPORTS
=
uuid advapi32 user32 gdi32 rpcrt4 kernel32 ntdll
EXTRADEFS
=
-D_OLE32_
-DCOM_NO_WINDOWS_H
\
-DENTRY_PREFIX
=
OLE32_
-DPROXY_CLSID
=
CLSID_PSFactoryBuffer
C_SRCS
=
\
antimoniker.c
\
...
...
@@ -74,6 +75,8 @@ IDL_P_SRCS = \
ole32_oleidl.idl
\
ole32_unknwn.idl
EXTRA_OBJS
=
dlldata.o
@MAKE_DLL_RULES@
ole2nls.spec.o
:
ole2nls.spec version16.res
...
...
dlls/ole32/compobj_private.h
View file @
1bd26cca
...
...
@@ -309,6 +309,9 @@ extern HINSTANCE OLE32_hInstance; /* FIXME: make static */
#define WINE_CLSCTX_DONT_HOST 0x80000000
/* from dlldata.c */
extern
HRESULT
WINAPI
OLE32_DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
iid
,
LPVOID
*
ppv
)
DECLSPEC_HIDDEN
;
/* Exported non-interface Data Advise Holder functions */
HRESULT
DataAdviseHolder_OnConnect
(
IDataAdviseHolder
*
iface
,
IDataObject
*
pDelegate
);
void
DataAdviseHolder_OnDisconnect
(
IDataAdviseHolder
*
iface
);
...
...
dlls/ole32/oleproxy.c
View file @
1bd26cca
...
...
@@ -36,7 +36,6 @@
#include "objbase.h"
#include "ole2.h"
#include "rpc.h"
#include "rpcproxy.h"
#include "compobj_private.h"
#include "moniker.h"
...
...
@@ -46,23 +45,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
static
CStdPSFactoryBuffer
PSFactoryBuffer
;
CSTDSTUBBUFFERRELEASE
(
&
PSFactoryBuffer
)
extern
const
ExtendedProxyFileInfo
dcom_ProxyFileInfo
;
extern
const
ExtendedProxyFileInfo
ole32_objidl_ProxyFileInfo
;
extern
const
ExtendedProxyFileInfo
ole32_oleidl_ProxyFileInfo
;
extern
const
ExtendedProxyFileInfo
ole32_unknwn_ProxyFileInfo
;
static
const
ProxyFileInfo
*
OLE32_ProxyFileList
[]
=
{
&
dcom_ProxyFileInfo
,
&
ole32_objidl_ProxyFileInfo
,
&
ole32_oleidl_ProxyFileInfo
,
&
ole32_unknwn_ProxyFileInfo
,
NULL
};
/***********************************************************************
* DllGetClassObject [OLE32.@]
*/
...
...
@@ -92,6 +74,5 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv)
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_StdComponentCategoriesMgr
))
return
ComCatCF_Create
(
iid
,
ppv
);
return
NdrDllGetClassObject
(
rclsid
,
iid
,
ppv
,
OLE32_ProxyFileList
,
&
CLSID_PSFactoryBuffer
,
&
PSFactoryBuffer
);
return
OLE32_DllGetClassObject
(
rclsid
,
iid
,
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