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
7e863444
Commit
7e863444
authored
Dec 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Convert dll registration to the IRegistrar mechanism.
parent
c57519cf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
148 additions
and
1 deletion
+148
-1
Makefile.in
dlls/inetcomm/Makefile.in
+2
-1
inetcomm.idl
dlls/inetcomm/inetcomm.idl
+124
-0
inetcomm_main.c
dlls/inetcomm/inetcomm_main.c
+22
-0
regsvr.c
dlls/inetcomm/regsvr.c
+0
-0
No files found.
dlls/inetcomm/Makefile.in
View file @
7e863444
...
...
@@ -9,7 +9,8 @@ C_SRCS = \
mimeintl.c
\
mimeole.c
\
pop3transport.c
\
regsvr.c
\
smtptransport.c
IDL_R_SRCS
=
inetcomm.idl
@MAKE_DLL_RULES@
dlls/inetcomm/inetcomm.idl
0 → 100644
View file @
7e863444
/*
*
COM
Classes
for
inetcomm
*
*
Copyright
2010
Alexandre
Julliard
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
[
helpstring
(
"CLSID_IMimeBody"
),
threading
(
both
),
uuid
(
fd853cdb
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IMimeBody
{
interface
IMimeBody
; }
[
helpstring
(
"CLSID_IMimeAllocator"
),
threading
(
both
),
uuid
(
fd853cdd
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IMimeAllocator
{
interface
IMimeAllocator
; }
[
helpstring
(
"CLSID_IMimeSecurity"
),
threading
(
both
),
uuid
(
fd853cde
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IMimeSecurity
{
interface
IMimeSecurity
; }
[
helpstring
(
"CLSID_IVirtualStream"
),
threading
(
both
),
uuid
(
fd853cdf
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IVirtualStream
{
interface
IVirtualStream
; }
[
helpstring
(
"CLSID_IMimeMessage"
),
threading
(
both
),
uuid
(
fd853ce3
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IMimeMessage
{
interface
IMimeMessage
; }
[
helpstring
(
"CLSID_ISMTPTransport"
),
threading
(
both
),
uuid
(
fd853ce6
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
ISMTPTransport
{
interface
ISMTPTransport
; }
[
helpstring
(
"CLSID_IPOP3Transport"
),
threading
(
both
),
uuid
(
fd853ce7
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IPOP3Transport
{
interface
IPOP3Transport
; }
[
helpstring
(
"CLSID_INNTPTransport"
),
threading
(
both
),
uuid
(
fd853ce8
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
INNTPTransport
{
interface
INNTPTransport
; }
[
helpstring
(
"CLSID_IRASTransport"
),
threading
(
both
),
uuid
(
fd853ce9
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IRASTransport
{
interface
IRASTransport
; }
[
helpstring
(
"CLSID_IRangeList"
),
threading
(
both
),
uuid
(
fd853cea
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IRangeList
{
interface
IRangeList
; }
[
helpstring
(
"CLSID_IIMAPTransport"
),
threading
(
both
),
uuid
(
fd853ceb
-
7
f86
-
11
d0
-
8252
-
00
c04fd85ab4
)
]
coclass
IIMAPTransport
{
interface
IIMAPTransport
; }
[
helpstring
(
"CLSID_IHTTPMailTransport"
),
threading
(
both
),
uuid
(
5
a580c11
-
e5eb
-
11
d1
-
a86e
-
0000
f8084f96
)
]
coclass
IHTTPMailTransport
{
interface
IHTTPMailTransport
; }
[
helpstring
(
"CLSID_ISMTPTransport2"
),
threading
(
both
),
uuid
(
0
df2c7ec
-
3435
-
11
d0
-
81
d0
-
00
c04fd85ab4
)
]
coclass
ISMTPTransport2
{
interface
ISMTPTransport2
; }
[
helpstring
(
"CLSID_IPropFindRequest"
),
threading
(
both
),
uuid
(
bb847b8a
-
054
a
-
11
d2
-
a894
-
0000
f8084f96
)
]
coclass
IPropFindRequest
{
interface
IPropFindRequest
; }
[
helpstring
(
"CLSID_IPropPatchRequest"
),
threading
(
both
),
uuid
(
ea678830
-235d-11
d2
-
a8b6
-
0000
f8084f96
)
]
coclass
IPropPatchRequest
{
interface
IPropPatchRequest
; }
dlls/inetcomm/inetcomm_main.c
View file @
7e863444
...
...
@@ -27,6 +27,9 @@
#include "winnt.h"
#include "winuser.h"
#include "ole2.h"
#include "ocidl.h"
#include "rpcproxy.h"
#include "initguid.h"
#include "mimeole.h"
#include "inetcomm_private.h"
...
...
@@ -35,6 +38,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
inetcomm
);
static
HINSTANCE
instance
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
static
IMimeInternational
*
international
;
...
...
@@ -47,6 +52,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
FALSE
;
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinstDLL
);
instance
=
hinstDLL
;
if
(
!
InternetTransport_RegisterClass
(
hinstDLL
))
return
FALSE
;
MimeInternational_Construct
(
&
international
);
...
...
@@ -199,3 +205,19 @@ HRESULT WINAPI DllCanUnloadNow(void)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (INETCOMM.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
,
NULL
);
}
/***********************************************************************
* DllUnregisterServer (INETCOMM.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
instance
,
NULL
);
}
dlls/inetcomm/regsvr.c
deleted
100644 → 0
View file @
c57519cf
This diff is collapsed.
Click to expand it.
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