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
30930239
Commit
30930239
authored
Sep 23, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Add wrapper functions MimeOleFindCharset and MimeOleGetDefaultCharset.
parent
b9356960
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
3 deletions
+35
-3
inetcomm.spec
dlls/inetcomm/inetcomm.spec
+2
-2
mimeintl.c
dlls/inetcomm/mimeintl.c
+33
-1
No files found.
dlls/inetcomm/inetcomm.spec
View file @
30930239
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
@ stub MimeOleDecodeHeader
@ stub MimeOleDecodeHeader
@ stub MimeOleEncodeHeader
@ stub MimeOleEncodeHeader
@ stub MimeOleFileTimeToInetDate
@ stub MimeOleFileTimeToInetDate
@ st
ub MimeOleFindCharset
@ st
dcall MimeOleFindCharset(str ptr)
@ stub MimeOleGenerateCID
@ stub MimeOleGenerateCID
@ stub MimeOleGenerateFileName
@ stub MimeOleGenerateFileName
@ stub MimeOleGenerateMID
@ stub MimeOleGenerateMID
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
@ stub MimeOleGetCodePageCharset
@ stub MimeOleGetCodePageCharset
@ stub MimeOleGetCodePageInfo
@ stub MimeOleGetCodePageInfo
@ stub MimeOleGetContentTypeExt
@ stub MimeOleGetContentTypeExt
@ st
ub MimeOleGetDefaultCharset
@ st
dcall MimeOleGetDefaultCharset(ptr)
@ stub MimeOleGetExtContentType
@ stub MimeOleGetExtContentType
@ stub MimeOleGetFileExtension
@ stub MimeOleGetFileExtension
@ stub MimeOleGetFileInfo
@ stub MimeOleGetFileInfo
...
...
dlls/inetcomm/mimeintl.c
View file @
30930239
...
@@ -547,6 +547,22 @@ HRESULT WINAPI MimeOleGetInternat(IMimeInternational **internat)
...
@@ -547,6 +547,22 @@ HRESULT WINAPI MimeOleGetInternat(IMimeInternational **internat)
return
S_OK
;
return
S_OK
;
}
}
HRESULT
WINAPI
MimeOleFindCharset
(
LPCSTR
name
,
LPHCHARSET
charset
)
{
IMimeInternational
*
internat
;
HRESULT
hr
;
TRACE
(
"(%s, %p)
\n
"
,
debugstr_a
(
name
),
charset
);
hr
=
MimeOleGetInternat
(
&
internat
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IMimeInternational_FindCharset
(
internat
,
name
,
charset
);
IMimeInternational_Release
(
internat
);
}
return
hr
;
}
HRESULT
WINAPI
MimeOleGetCharsetInfo
(
HCHARSET
hCharset
,
LPINETCSETINFO
pCsetInfo
)
HRESULT
WINAPI
MimeOleGetCharsetInfo
(
HCHARSET
hCharset
,
LPINETCSETINFO
pCsetInfo
)
{
{
IMimeInternational
*
internat
;
IMimeInternational
*
internat
;
...
@@ -560,5 +576,21 @@ HRESULT WINAPI MimeOleGetCharsetInfo(HCHARSET hCharset, LPINETCSETINFO pCsetInfo
...
@@ -560,5 +576,21 @@ HRESULT WINAPI MimeOleGetCharsetInfo(HCHARSET hCharset, LPINETCSETINFO pCsetInfo
hr
=
IMimeInternational_GetCharsetInfo
(
internat
,
hCharset
,
pCsetInfo
);
hr
=
IMimeInternational_GetCharsetInfo
(
internat
,
hCharset
,
pCsetInfo
);
IMimeInternational_Release
(
internat
);
IMimeInternational_Release
(
internat
);
}
}
return
S_OK
;
return
hr
;
}
HRESULT
WINAPI
MimeOleGetDefaultCharset
(
LPHCHARSET
charset
)
{
IMimeInternational
*
internat
;
HRESULT
hr
;
TRACE
(
"(%p)
\n
"
,
charset
);
hr
=
MimeOleGetInternat
(
&
internat
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IMimeInternational_GetDefaultCharset
(
internat
,
charset
);
IMimeInternational_Release
(
internat
);
}
return
hr
;
}
}
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