Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
431e369f
Commit
431e369f
authored
Dec 03, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Convert dll registration to the IRegistrar mechanism.
parent
2f5c578d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
110 additions
and
4 deletions
+110
-4
Makefile.in
dlls/ole32/Makefile.in
+7
-2
compobj.c
dlls/ole32/compobj.c
+17
-1
ole32_objidl.idl
dlls/ole32/ole32_objidl.idl
+85
-0
regsvr.c
dlls/ole32/regsvr.c
+0
-0
wine.inf.in
tools/wine.inf.in
+1
-1
No files found.
dlls/ole32/Makefile.in
View file @
431e369f
...
@@ -2,7 +2,7 @@ MODULE = ole32.dll
...
@@ -2,7 +2,7 @@ MODULE = ole32.dll
IMPORTLIB
=
ole32
IMPORTLIB
=
ole32
IMPORTS
=
uuid advapi32 user32 gdi32 rpcrt4
IMPORTS
=
uuid advapi32 user32 gdi32 rpcrt4
EXTRADEFS
=
-D_OLE32_
-DCOM_NO_WINDOWS_H
\
EXTRADEFS
=
-D_OLE32_
-DCOM_NO_WINDOWS_H
\
-DENTRY_PREFIX
=
OLE32_
-DPROXY_CLSID
=
CLSID_PSFactoryBuffer
-D
REGISTER_PROXY
_DLL
-DENTRY_PREFIX
=
OLE32_
-DPROXY_CLSID
=
CLSID_PSFactoryBuffer
-D
WINE_REGISTER
_DLL
C_SRCS
=
\
C_SRCS
=
\
antimoniker.c
\
antimoniker.c
\
...
@@ -34,7 +34,6 @@ C_SRCS = \
...
@@ -34,7 +34,6 @@ C_SRCS = \
oleobj.c
\
oleobj.c
\
oleproxy.c
\
oleproxy.c
\
pointermoniker.c
\
pointermoniker.c
\
regsvr.c
\
rpc.c
\
rpc.c
\
stg_prop.c
\
stg_prop.c
\
stg_stream.c
\
stg_stream.c
\
...
@@ -53,6 +52,12 @@ IDL_P_SRCS = \
...
@@ -53,6 +52,12 @@ IDL_P_SRCS = \
ole32_oleidl.idl
\
ole32_oleidl.idl
\
ole32_unknwn.idl
ole32_unknwn.idl
IDL_R_SRCS
=
\
dcom.idl
\
ole32_objidl.idl
\
ole32_oleidl.idl
\
ole32_unknwn.idl
EXTRA_OBJS
=
dlldata.o
EXTRA_OBJS
=
dlldata.o
@MAKE_DLL_RULES@
@MAKE_DLL_RULES@
dlls/ole32/compobj.c
View file @
431e369f
...
@@ -59,7 +59,9 @@
...
@@ -59,7 +59,9 @@
#include "ctxtcall.h"
#include "ctxtcall.h"
#include "dde.h"
#include "dde.h"
#include "initguid.h"
#include "compobj_private.h"
#include "compobj_private.h"
#include "moniker.h"
#include "wine/unicode.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -4168,4 +4170,18 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
...
@@ -4168,4 +4170,18 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
return
TRUE
;
return
TRUE
;
}
}
/* NOTE: DllRegisterServer and DllUnregisterServer are in regsvr.c */
/***********************************************************************
* DllRegisterServer (OLE32.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
OLE32_DllRegisterServer
();
}
/***********************************************************************
* DllUnregisterServer (OLE32.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
OLE32_DllUnregisterServer
();
}
dlls/ole32/ole32_objidl.idl
View file @
431e369f
...
@@ -23,3 +23,88 @@
...
@@ -23,3 +23,88 @@
cpp_quote
(
"#if 0 /* ole32_objidl.idl hack */"
)
cpp_quote
(
"#if 0 /* ole32_objidl.idl hack */"
)
#
include
"objidl.idl"
#
include
"objidl.idl"
cpp_quote
(
"#endif /* ole32_objidl.idl hack */"
)
cpp_quote
(
"#endif /* ole32_objidl.idl hack */"
)
[
threading
(
both
),
uuid
(
00000300
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
StdOleLink
{
interface
IMarshal
; }
[
threading
(
both
),
progid
(
"file"
),
uuid
(
00000303
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
FileMoniker
{
interface
IMoniker
; }
[
threading
(
both
),
uuid
(
00000304
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
ItemMoniker
{
interface
IMoniker
; }
[
threading
(
both
),
uuid
(
00000305
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
AntiMoniker
{
interface
IMoniker
; }
[
threading
(
both
),
uuid
(
00000306
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
PointerMoniker
{
interface
IMoniker
; }
[
threading
(
both
),
uuid
(
00000308
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
PackagerMoniker
{
interface
IMoniker
; }
[
threading
(
both
),
uuid
(
00000309
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
CompositeMoniker
{
interface
IMoniker
; }
[
threading
(
both
),
uuid
(
0000030b
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
DfMarshal
{
interface
IMarshal
; }
[
helpstring
(
"Picture (Metafile)"
),
threading
(
both
),
progid
(
"StaticMetafile"
),
uuid
(
00000315
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
Picture_Metafile
{
interface
IPicture
; }
[
helpstring
(
"Picture (Device Independent Bitmap)"
),
threading
(
both
),
progid
(
"StaticDib"
),
uuid
(
00000316
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
Picture_Dib
{
interface
IPicture
; }
[
threading
(
both
),
progid
(
"CLSID"
),
uuid
(
0000031
a
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
ClassMoniker
{
interface
IMoniker
; }
[
threading
(
apartment
),
uuid
(
00000323
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
StdGlobalInterfaceTable
{
interface
IGlobalInterfaceTable
; }
[
helpstring
(
"Component Categories Manager"
),
threading
(
both
),
uuid
(
0002
e005
-
0000
-
0000
-
c000
-
000000000046
)
]
coclass
StdComponentCategoriesMgr
{
interface
ICatRegister
; interface ICatInformation; }
dlls/ole32/regsvr.c
deleted
100644 → 0
View file @
2f5c578d
This diff is collapsed.
Click to expand it.
tools/wine.inf.in
View file @
431e369f
...
@@ -2483,8 +2483,8 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
...
@@ -2483,8 +2483,8 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
[RegisterDllsSection]
[RegisterDllsSection]
;;some dlls have to be registered first
;;some dlls have to be registered first
11,,ole32.dll,1
11,,atl.dll,1
11,,atl.dll,1
11,,ole32.dll,1
11,,oleaut32.dll,1
11,,oleaut32.dll,1
11,,shell32.dll,1
11,,shell32.dll,1
...
...
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