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
a9287e35
Commit
a9287e35
authored
Feb 12, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Feb 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Forward a few IMimeMessage functions to the appropriate IMimeBody functions.
parent
d56033ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
6 deletions
+32
-6
mimeole.c
dlls/inetcomm/mimeole.c
+32
-6
No files found.
dlls/inetcomm/mimeole.c
View file @
a9287e35
...
...
@@ -2029,8 +2029,16 @@ static HRESULT WINAPI MimeMessage_IsBodyType(
HBODY
hBody
,
IMSGBODYTYPE
bodytype
)
{
FIXME
(
"(%p)->(%p, %d)
\n
"
,
iface
,
hBody
,
bodytype
);
return
E_NOTIMPL
;
HRESULT
hr
;
IMimeBody
*
mime_body
;
TRACE
(
"(%p)->(%p, %d)
\n
"
,
iface
,
hBody
,
bodytype
);
hr
=
IMimeMessage_BindToObject
(
iface
,
hBody
,
&
IID_IMimeBody
,
(
void
**
)
&
mime_body
);
if
(
hr
!=
S_OK
)
return
hr
;
hr
=
IMimeBody_IsType
(
mime_body
,
bodytype
);
MimeBody_Release
(
mime_body
);
return
hr
;
}
static
HRESULT
WINAPI
MimeMessage_IsContentType
(
...
...
@@ -2039,8 +2047,16 @@ static HRESULT WINAPI MimeMessage_IsContentType(
LPCSTR
pszPriType
,
LPCSTR
pszSubType
)
{
FIXME
(
"(%p)->(%p, %s, %s)
\n
"
,
iface
,
hBody
,
pszPriType
,
pszSubType
);
return
E_NOTIMPL
;
HRESULT
hr
;
IMimeBody
*
mime_body
;
TRACE
(
"(%p)->(%p, %s, %s)
\n
"
,
iface
,
hBody
,
pszPriType
,
pszSubType
);
hr
=
IMimeMessage_BindToObject
(
iface
,
hBody
,
&
IID_IMimeBody
,
(
void
**
)
&
mime_body
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IMimeBody_IsContentType
(
mime_body
,
pszPriType
,
pszSubType
);
IMimeBody_Release
(
mime_body
);
return
hr
;
}
static
HRESULT
WINAPI
MimeMessage_QueryBodyProp
(
...
...
@@ -2062,8 +2078,18 @@ static HRESULT WINAPI MimeMessage_GetBodyProp(
DWORD
dwFlags
,
LPPROPVARIANT
pValue
)
{
FIXME
(
"(%p)->(%p, %s, 0x%x, %p)
\n
"
,
iface
,
hBody
,
pszName
,
dwFlags
,
pValue
);
return
E_NOTIMPL
;
HRESULT
hr
;
IMimeBody
*
mime_body
;
TRACE
(
"(%p)->(%p, %s, 0x%x, %p)
\n
"
,
iface
,
hBody
,
pszName
,
dwFlags
,
pValue
);
hr
=
IMimeMessage_BindToObject
(
iface
,
hBody
,
&
IID_IMimeBody
,
(
void
**
)
&
mime_body
);
if
(
hr
!=
S_OK
)
return
hr
;
hr
=
IMimeBody_GetProp
(
mime_body
,
pszName
,
dwFlags
,
pValue
);
IMimeBody_Release
(
mime_body
);
return
hr
;
}
static
HRESULT
WINAPI
MimeMessage_SetBodyProp
(
...
...
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