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
55b086b2
Commit
55b086b2
authored
Nov 11, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Add an implementation of IVirtualStream.
parent
066a8f44
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
inetcomm_main.c
dlls/inetcomm/inetcomm_main.c
+5
-0
inetcomm_private.h
dlls/inetcomm/inetcomm_private.h
+1
-0
mimeole.c
dlls/inetcomm/mimeole.c
+10
-0
regsvr.c
dlls/inetcomm/regsvr.c
+6
-0
No files found.
dlls/inetcomm/inetcomm_main.c
View file @
55b086b2
...
...
@@ -139,6 +139,7 @@ static cf mime_body_cf = { &cf_vtbl, MimeBody_create };
static
cf
mime_allocator_cf
=
{
&
cf_vtbl
,
MimeAllocator_create
};
static
cf
mime_message_cf
=
{
&
cf_vtbl
,
MimeMessage_create
};
static
cf
mime_security_cf
=
{
&
cf_vtbl
,
MimeSecurity_create
};
static
cf
virtual_stream_cf
=
{
&
cf_vtbl
,
VirtualStream_create
};
/***********************************************************************
* DllGetClassObject (INETCOMM.@)
...
...
@@ -177,6 +178,10 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
{
cf
=
(
IClassFactory
*
)
&
mime_allocator_cf
.
lpVtbl
;
}
else
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_IVirtualStream
))
{
cf
=
(
IClassFactory
*
)
&
virtual_stream_cf
.
lpVtbl
;
}
if
(
!
cf
)
{
...
...
dlls/inetcomm/inetcomm_private.h
View file @
55b086b2
...
...
@@ -77,6 +77,7 @@ HRESULT MimeBody_create(IUnknown *outer, void **obj);
HRESULT
MimeAllocator_create
(
IUnknown
*
outer
,
void
**
obj
);
HRESULT
MimeMessage_create
(
IUnknown
*
outer
,
void
**
obj
);
HRESULT
MimeSecurity_create
(
IUnknown
*
outer
,
void
**
obj
);
HRESULT
VirtualStream_create
(
IUnknown
*
outer
,
void
**
obj
);
HRESULT
MimeInternational_Construct
(
IMimeInternational
**
internat
);
...
...
dlls/inetcomm/mimeole.c
View file @
55b086b2
...
...
@@ -2989,3 +2989,13 @@ HRESULT WINAPI MimeOleGetAllocator(IMimeAllocator **alloc)
{
return
MimeAllocator_create
(
NULL
,
(
void
**
)
alloc
);
}
HRESULT
VirtualStream_create
(
IUnknown
*
outer
,
void
**
obj
)
{
FIXME
(
"(%p, %p)
\n
"
,
outer
,
obj
);
*
obj
=
NULL
;
if
(
outer
)
return
CLASS_E_NOAGGREGATION
;
return
MimeOleCreateVirtualStream
((
IStream
**
)
obj
);
}
dlls/inetcomm/regsvr.c
View file @
55b086b2
...
...
@@ -464,6 +464,12 @@ static struct regsvr_coclass const coclass_list[] = {
"inetcomm.dll"
,
"Both"
},
{
&
CLSID_IVirtualStream
,
"CLSID_IVirtualStream"
,
NULL
,
"inetcomm.dll"
,
"Both"
},
{
NULL
}
/* list terminator */
};
...
...
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