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
0afbcd5d
Commit
0afbcd5d
authored
Aug 20, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add ISAXAttributes_getIndexFromName implementation.
parent
5e1af9b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
saxreader.c
dlls/msxml3/saxreader.c
+22
-3
No files found.
dlls/msxml3/saxreader.c
View file @
0afbcd5d
...
...
@@ -721,10 +721,29 @@ static HRESULT WINAPI isaxattributes_getIndexFromName(
int
*
index
)
{
saxattributes
*
This
=
impl_from_ISAXAttributes
(
iface
);
FIXME
(
"(%p)->(%s, %d, %s, %d) stub
\n
"
,
This
,
debugstr_w
(
pUri
),
cUriLength
,
int
i
;
TRACE
(
"(%p)->(%s, %d, %s, %d)
\n
"
,
This
,
debugstr_w
(
pUri
),
cUriLength
,
debugstr_w
(
pLocalName
),
cocalNameLength
);
return
E_NOTIMPL
;
if
(
!
pUri
||
!
pLocalName
||
!
index
)
return
E_POINTER
;
for
(
i
=
0
;
i
<
This
->
nb_attributes
;
i
++
)
{
if
(
cUriLength
!=
SysStringLen
(
This
->
szURI
[
i
])
||
cocalNameLength
!=
SysStringLen
(
This
->
szLocalname
[
i
]))
continue
;
if
(
cUriLength
&&
memcmp
(
pUri
,
This
->
szURI
[
i
],
sizeof
(
WCHAR
)
*
cUriLength
))
continue
;
if
(
cocalNameLength
&&
memcmp
(
pLocalName
,
This
->
szLocalname
[
i
],
sizeof
(
WCHAR
)
*
cocalNameLength
))
continue
;
*
index
=
i
;
return
S_OK
;
}
return
E_INVALIDARG
;
}
static
HRESULT
WINAPI
isaxattributes_getIndexFromQName
(
...
...
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