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
c496dd4e
Commit
c496dd4e
authored
Jul 19, 2007
by
Eric Pouech
Committed by
Alexandre Julliard
Jul 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Added parsing of the description element in manifests.
parent
699b5e74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
actctx.c
dlls/ntdll/actctx.c
+33
-0
No files found.
dlls/ntdll/actctx.c
View file @
c496dd4e
...
...
@@ -173,6 +173,7 @@ struct actctx_loader
#define COMINTERFACEPROXYSTUB_ELEM "comInterfaceProxyStub"
#define DEPENDENCY_ELEM "dependency"
#define DEPENDENTASSEMBLY_ELEM "dependentAssembly"
#define DESCRIPTION_ELEM "description"
#define FILE_ELEM "file"
#define NOINHERIT_ELEM "noInherit"
#define NOINHERITABLE_ELEM "noInheritable"
...
...
@@ -784,6 +785,34 @@ static BOOL parse_window_class_elem(xmlbuf_t* xmlbuf, struct dll_redirect* dll)
return
ret
;
}
static
BOOL
parse_description_elem
(
xmlbuf_t
*
xmlbuf
)
{
xmlstr_t
elem
,
content
;
BOOL
end
=
FALSE
,
ret
=
TRUE
;
if
(
!
parse_expect_no_attr
(
xmlbuf
,
&
end
)
||
end
||
!
parse_text_content
(
xmlbuf
,
&
content
))
return
FALSE
;
TRACE
(
"Got description %s
\n
"
,
debugstr_xmlstr
(
&
content
));
while
(
ret
&&
(
ret
=
next_xml_elem
(
xmlbuf
,
&
elem
)))
{
if
(
xmlstr_cmp
(
&
elem
,
ELEM_END
(
DESCRIPTION_ELEM
)))
{
ret
=
parse_end_element
(
xmlbuf
);
break
;
}
else
{
WARN
(
"wrong elem %s
\n
"
,
debugstr_xmlstr
(
&
elem
));
ret
=
FALSE
;
}
}
return
ret
;
}
static
BOOL
parse_dependent_assembly_elem
(
xmlbuf_t
*
xmlbuf
,
struct
actctx_loader
*
acl
)
{
...
...
@@ -1019,6 +1048,10 @@ static BOOL parse_assembly_elem(xmlbuf_t* xmlbuf, struct actctx_loader* acl,
ret
=
parse_end_element
(
xmlbuf
);
break
;
}
else
if
(
xmlstr_cmp
(
&
elem
,
DESCRIPTION_ELEM
))
{
ret
=
parse_description_elem
(
xmlbuf
);
}
else
if
(
xmlstr_cmp
(
&
elem
,
DEPENDENCY_ELEM
))
{
ret
=
parse_dependency_elem
(
xmlbuf
,
acl
);
...
...
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