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
1aaf2bd5
Commit
1aaf2bd5
authored
Jan 10, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Get rid of upper case converting helper.
parent
af502d23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
xmlelem.c
dlls/msxml3/xmlelem.c
+2
-16
No files found.
dlls/msxml3/xmlelem.c
View file @
1aaf2bd5
...
...
@@ -171,31 +171,17 @@ static HRESULT WINAPI xmlelem_Invoke(IXMLElement *iface, DISPID dispIdMember,
return
hr
;
}
static
inline
BSTR
str_dup_upper
(
BSTR
str
)
{
INT
len
=
(
lstrlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
);
BSTR
p
=
SysAllocStringLen
(
NULL
,
len
);
if
(
p
)
{
memcpy
(
p
,
str
,
len
);
CharUpperW
(
p
);
}
return
p
;
}
static
HRESULT
WINAPI
xmlelem_get_tagName
(
IXMLElement
*
iface
,
BSTR
*
p
)
{
xmlelem
*
This
=
impl_from_IXMLElement
(
iface
);
BSTR
temp
;
TRACE
(
"(%p, %p)
\n
"
,
iface
,
p
);
if
(
!
p
)
return
E_INVALIDARG
;
temp
=
bstr_from_xmlChar
(
This
->
node
->
name
);
*
p
=
str_dup_upper
(
temp
);
SysFreeString
(
temp
);
*
p
=
bstr_from_xmlChar
(
This
->
node
->
name
);
CharUpperBuffW
(
*
p
,
SysStringLen
(
*
p
));
TRACE
(
"returning %s
\n
"
,
debugstr_w
(
*
p
));
...
...
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