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
bc33dbcc
Commit
bc33dbcc
authored
Sep 11, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opcservices: Output content types URI.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a86e2a4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
package.c
dlls/opcservices/package.c
+3
-1
No files found.
dlls/opcservices/package.c
View file @
bc33dbcc
...
...
@@ -831,6 +831,8 @@ HRESULT opc_package_create(IOpcFactory *factory, IOpcPackage **out)
static
HRESULT
opc_package_write_contenttypes
(
struct
zip_archive
*
archive
,
IXmlWriter
*
writer
)
{
static
const
WCHAR
uriW
[]
=
{
'h'
,
't'
,
't'
,
'p'
,
':'
,
'/'
,
'/'
,
's'
,
'c'
,
'h'
,
'e'
,
'm'
,
'a'
,
's'
,
'.'
,
'o'
,
'p'
,
'e'
,
'n'
,
'x'
,
'm'
,
'l'
,
'f'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
's'
,
'.'
,
'o'
,
'r'
,
'g'
,
'/'
,
'p'
,
'a'
,
'c'
,
'k'
,
'a'
,
'g'
,
'e'
,
'/'
,
'2'
,
'0'
,
'0'
,
'6'
,
'/'
,
'c'
,
'o'
,
'n'
,
't'
,
'e'
,
'n'
,
't'
,
'-'
,
't'
,
'y'
,
'p'
,
'e'
,
's'
,
0
};
static
const
WCHAR
contenttypesW
[]
=
{
'['
,
'C'
,
'o'
,
'n'
,
't'
,
'e'
,
'n'
,
't'
,
'_'
,
'T'
,
'y'
,
'p'
,
'e'
,
's'
,
']'
,
'.'
,
'x'
,
'm'
,
'l'
,
0
};
static
const
WCHAR
typesW
[]
=
{
'T'
,
'y'
,
'p'
,
'e'
,
's'
,
0
};
IStream
*
content
;
...
...
@@ -843,7 +845,7 @@ static HRESULT opc_package_write_contenttypes(struct zip_archive *archive, IXmlW
hr
=
IXmlWriter_WriteStartDocument
(
writer
,
XmlStandalone_Omit
);
if
(
SUCCEEDED
(
hr
))
hr
=
IXmlWriter_WriteStartElement
(
writer
,
NULL
,
typesW
,
NULL
);
hr
=
IXmlWriter_WriteStartElement
(
writer
,
NULL
,
typesW
,
uriW
);
if
(
SUCCEEDED
(
hr
))
hr
=
IXmlWriter_WriteEndDocument
(
writer
);
if
(
SUCCEEDED
(
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