Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
43958866
Commit
43958866
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: Stub IMime{Message, Body}_GetCharset to return a NULL charset.
parent
3f92c5b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
mimeole.c
dlls/inetcomm/mimeole.c
+4
-2
mimeole.c
dlls/inetcomm/tests/mimeole.c
+10
-0
No files found.
dlls/inetcomm/mimeole.c
View file @
43958866
...
...
@@ -715,7 +715,8 @@ static HRESULT WINAPI MimeBody_GetCharset(
LPHCHARSET
phCharset
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
*
phCharset
=
NULL
;
return
S_OK
;
}
static
HRESULT
WINAPI
MimeBody_SetCharset
(
...
...
@@ -2023,7 +2024,8 @@ static HRESULT WINAPI MimeMessage_GetCharset(
LPHCHARSET
phCharset
)
{
FIXME
(
"(%p)->(%p)
\n
"
,
iface
,
phCharset
);
return
E_NOTIMPL
;
*
phCharset
=
NULL
;
return
S_OK
;
}
static
HRESULT
WINAPI
MimeMessage_SetCharset
(
...
...
dlls/inetcomm/tests/mimeole.c
View file @
43958866
...
...
@@ -215,6 +215,7 @@ static void test_CreateMessage(void)
BODYOFFSETS
offsets
;
ULONG
count
;
FINDBODY
find_struct
;
HCHARSET
hcs
;
char
text
[]
=
"text"
;
HBODY
*
body_list
;
PROPVARIANT
prop
;
...
...
@@ -268,6 +269,11 @@ static void test_CreateMessage(void)
ok
(
offsets
.
cbHeaderStart
==
428
,
"got %d
\n
"
,
offsets
.
cbHeaderStart
);
ok
(
offsets
.
cbBodyStart
==
518
,
"got %d
\n
"
,
offsets
.
cbBodyStart
);
ok
(
offsets
.
cbBodyEnd
==
523
,
"got %d
\n
"
,
offsets
.
cbBodyEnd
);
hr
=
IMimeBody_GetCharset
(
body
,
&
hcs
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
hcs
==
NULL
,
"ret %p
\n
"
,
hcs
);
IMimeBody_Release
(
body
);
hr
=
IMimeMessage_GetBody
(
msg
,
IBL_NEXT
,
hbody
,
&
hbody
);
...
...
@@ -299,6 +305,10 @@ static void test_CreateMessage(void)
ok
(
count
==
2
,
"got %d
\n
"
,
count
);
CoTaskMemFree
(
body_list
);
hr
=
IMimeMessage_GetCharset
(
body
,
&
hcs
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
hcs
==
NULL
,
"ret %p
\n
"
,
hcs
);
IMimeMessage_Release
(
msg
);
ref
=
IStream_AddRef
(
stream
);
...
...
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