Commit d4f107f5 authored by Alexandre Julliard's avatar Alexandre Julliard

comcat: Moved dll registration to ole32.

parent e5299ac7
...@@ -10,8 +10,7 @@ C_SRCS = \ ...@@ -10,8 +10,7 @@ C_SRCS = \
factory.c \ factory.c \
information.c \ information.c \
manager.c \ manager.c \
register.c \ register.c
regsvr.c
RC_SRCS = \ RC_SRCS = \
version.rc version.rc
......
...@@ -52,4 +52,18 @@ HRESULT WINAPI DllCanUnloadNow(void) ...@@ -52,4 +52,18 @@ HRESULT WINAPI DllCanUnloadNow(void)
return dll_ref != 0 ? S_FALSE : S_OK; return dll_ref != 0 ? S_FALSE : S_OK;
} }
/* NOTE: DllRegisterServer and DllUnregisterServer are in regsvr.c */ /***********************************************************************
* DllRegisterServer (COMCAT.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
return S_OK;
}
/***********************************************************************
* DllUnregisterServer (COMCAT.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
return S_OK;
}
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "ole2.h" #include "ole2.h"
#include "olectl.h" #include "olectl.h"
#include "comcat.h"
#include "initguid.h" #include "initguid.h"
#include "compobj_private.h" #include "compobj_private.h"
#include "moniker.h" #include "moniker.h"
...@@ -406,6 +407,9 @@ static GUID const CLSID_StdOleLink = { ...@@ -406,6 +407,9 @@ static GUID const CLSID_StdOleLink = {
static GUID const CLSID_PackagerMoniker = { static GUID const CLSID_PackagerMoniker = {
0x00000308, 0x0000, 0x0000, {0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46} }; 0x00000308, 0x0000, 0x0000, {0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46} };
static GUID const CLSID_PSFactoryBuffer_actxprxy = {
0xB8DA6310, 0xE19B, 0x11D0, {0x93,0x3C,0x00,0xA0,0xC9,0x0D,0xCA,0xA9} };
extern GUID const CLSID_Picture_Metafile; extern GUID const CLSID_Picture_Metafile;
extern GUID const CLSID_Picture_Dib; extern GUID const CLSID_Picture_Dib;
...@@ -492,6 +496,12 @@ static struct regsvr_coclass const coclass_list[] = { ...@@ -492,6 +496,12 @@ static struct regsvr_coclass const coclass_list[] = {
"ole32.dll", "ole32.dll",
"Apartment" "Apartment"
}, },
{ &CLSID_StdComponentCategoriesMgr,
"Component Categories Manager",
NULL,
"comcat.dll", /* FIXME: should be in ole32.dll */
"Both"
},
{ NULL } /* list terminator */ { NULL } /* list terminator */
}; };
...@@ -502,6 +512,7 @@ static struct regsvr_coclass const coclass_list[] = { ...@@ -502,6 +512,7 @@ static struct regsvr_coclass const coclass_list[] = {
#define INTERFACE_ENTRY(interface, base, clsid32, clsid16) { &IID_##interface, #interface, base, sizeof(interface##Vtbl)/sizeof(void*), clsid16, clsid32 } #define INTERFACE_ENTRY(interface, base, clsid32, clsid16) { &IID_##interface, #interface, base, sizeof(interface##Vtbl)/sizeof(void*), clsid16, clsid32 }
#define BAS_INTERFACE_ENTRY(interface, base) INTERFACE_ENTRY(interface, &IID_##base, &CLSID_PSFactoryBuffer, NULL) #define BAS_INTERFACE_ENTRY(interface, base) INTERFACE_ENTRY(interface, &IID_##base, &CLSID_PSFactoryBuffer, NULL)
#define STD_INTERFACE_ENTRY(interface) INTERFACE_ENTRY(interface, NULL, &CLSID_PSFactoryBuffer, NULL) #define STD_INTERFACE_ENTRY(interface) INTERFACE_ENTRY(interface, NULL, &CLSID_PSFactoryBuffer, NULL)
#define ACTX_INTERFACE_ENTRY(interface) INTERFACE_ENTRY(interface, NULL, &CLSID_PSFactoryBuffer_actxprxy, NULL)
#define LCL_INTERFACE_ENTRY(interface) INTERFACE_ENTRY(interface, NULL, NULL, NULL) #define LCL_INTERFACE_ENTRY(interface) INTERFACE_ENTRY(interface, NULL, NULL, NULL)
static const struct regsvr_interface interface_list[] = { static const struct regsvr_interface interface_list[] = {
...@@ -561,6 +572,10 @@ static const struct regsvr_interface interface_list[] = { ...@@ -561,6 +572,10 @@ static const struct regsvr_interface interface_list[] = {
LCL_INTERFACE_ENTRY(IClientSecurity), LCL_INTERFACE_ENTRY(IClientSecurity),
LCL_INTERFACE_ENTRY(IServerSecurity), LCL_INTERFACE_ENTRY(IServerSecurity),
STD_INTERFACE_ENTRY(ISequentialStream), STD_INTERFACE_ENTRY(ISequentialStream),
ACTX_INTERFACE_ENTRY(IEnumGUID),
ACTX_INTERFACE_ENTRY(IEnumCATEGORYINFO),
ACTX_INTERFACE_ENTRY(ICatRegister),
ACTX_INTERFACE_ENTRY(ICatInformation),
{ NULL } /* list terminator */ { NULL } /* list terminator */
}; };
......
...@@ -2179,7 +2179,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" ...@@ -2179,7 +2179,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,atl.dll,1 11,,atl.dll,1
11,,avifil32.dll,1 11,,avifil32.dll,1
11,,browseui.dll,1 11,,browseui.dll,1
11,,comcat.dll,1
11,,comctl32.dll,2 11,,comctl32.dll,2
11,,cryptdlg.dll,1 11,,cryptdlg.dll,1
11,,cryptnet.dll,1 11,,cryptnet.dll,1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment