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
d65f2988
Commit
d65f2988
authored
Oct 05, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add some useful traces and demangle some parameter names.
parent
ecd13dcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
29 deletions
+35
-29
saxreader.c
dlls/msxml3/saxreader.c
+35
-29
No files found.
dlls/msxml3/saxreader.c
View file @
d65f2988
...
...
@@ -824,18 +824,20 @@ static HRESULT WINAPI isaxattributes_getLength(
static
HRESULT
WINAPI
isaxattributes_getURI
(
ISAXAttributes
*
iface
,
int
nI
ndex
,
const
WCHAR
**
pU
rl
,
int
*
pUriS
ize
)
int
i
ndex
,
const
WCHAR
**
u
rl
,
int
*
s
ize
)
{
saxattributes
*
This
=
impl_from_ISAXAttributes
(
iface
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
nI
ndex
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
i
ndex
);
if
(
nIndex
>=
This
->
nb_attributes
||
nIndex
<
0
)
return
E_INVALIDARG
;
if
(
!
pUrl
||
!
pUriS
ize
)
return
E_POINTER
;
if
(
index
>=
This
->
nb_attributes
||
index
<
0
)
return
E_INVALIDARG
;
if
(
!
url
||
!
s
ize
)
return
E_POINTER
;
*
pUriSize
=
SysStringLen
(
This
->
szURI
[
nIndex
]);
*
pUrl
=
This
->
szURI
[
nIndex
];
*
size
=
SysStringLen
(
This
->
szURI
[
index
]);
*
url
=
This
->
szURI
[
index
];
TRACE
(
"(%s:%d)
\n
"
,
debugstr_w
(
This
->
szURI
[
index
]),
*
size
);
return
S_OK
;
}
...
...
@@ -878,27 +880,29 @@ static HRESULT WINAPI isaxattributes_getQName(
static
HRESULT
WINAPI
isaxattributes_getName
(
ISAXAttributes
*
iface
,
int
nI
ndex
,
const
WCHAR
**
pU
ri
,
int
i
ndex
,
const
WCHAR
**
u
ri
,
int
*
pUriLength
,
const
WCHAR
**
pL
ocalName
,
const
WCHAR
**
l
ocalName
,
int
*
pLocalNameSize
,
const
WCHAR
**
p
QName
,
const
WCHAR
**
QName
,
int
*
pQNameLength
)
{
saxattributes
*
This
=
impl_from_ISAXAttributes
(
iface
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
nI
ndex
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
i
ndex
);
if
(
nIndex
>=
This
->
nb_attributes
||
nI
ndex
<
0
)
return
E_INVALIDARG
;
if
(
!
pUri
||
!
pUriLength
||
!
pL
ocalName
||
!
pLocalNameSize
||
!
p
QName
||
!
pQNameLength
)
return
E_POINTER
;
if
(
index
>=
This
->
nb_attributes
||
i
ndex
<
0
)
return
E_INVALIDARG
;
if
(
!
uri
||
!
pUriLength
||
!
l
ocalName
||
!
pLocalNameSize
||
!
QName
||
!
pQNameLength
)
return
E_POINTER
;
*
pUriLength
=
SysStringLen
(
This
->
szURI
[
nIndex
]);
*
pUri
=
This
->
szURI
[
nIndex
];
*
pLocalNameSize
=
SysStringLen
(
This
->
szLocalname
[
nIndex
]);
*
pLocalName
=
This
->
szLocalname
[
nIndex
];
*
pQNameLength
=
SysStringLen
(
This
->
szQName
[
nIndex
]);
*
pQName
=
This
->
szQName
[
nIndex
];
*
pUriLength
=
SysStringLen
(
This
->
szURI
[
index
]);
*
uri
=
This
->
szURI
[
index
];
*
pLocalNameSize
=
SysStringLen
(
This
->
szLocalname
[
index
]);
*
localName
=
This
->
szLocalname
[
index
];
*
pQNameLength
=
SysStringLen
(
This
->
szQName
[
index
]);
*
QName
=
This
->
szQName
[
index
];
TRACE
(
"(%s, %s, %s)
\n
"
,
debugstr_w
(
*
uri
),
debugstr_w
(
*
localName
),
debugstr_w
(
*
QName
));
return
S_OK
;
}
...
...
@@ -1005,18 +1009,20 @@ static HRESULT WINAPI isaxattributes_getTypeFromQName(
static
HRESULT
WINAPI
isaxattributes_getValue
(
ISAXAttributes
*
iface
,
int
nI
ndex
,
const
WCHAR
**
pV
alue
,
int
i
ndex
,
const
WCHAR
**
v
alue
,
int
*
nValue
)
{
saxattributes
*
This
=
impl_from_ISAXAttributes
(
iface
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
nI
ndex
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
i
ndex
);
if
(
nIndex
>=
This
->
nb_attributes
||
nIndex
<
0
)
return
E_INVALIDARG
;
if
(
!
pValue
||
!
nValue
)
return
E_POINTER
;
if
(
index
>=
This
->
nb_attributes
||
index
<
0
)
return
E_INVALIDARG
;
if
(
!
value
||
!
nValue
)
return
E_POINTER
;
*
nValue
=
SysStringLen
(
This
->
szValue
[
index
]);
*
value
=
This
->
szValue
[
index
];
*
nValue
=
SysStringLen
(
This
->
szValue
[
nIndex
]);
*
pValue
=
This
->
szValue
[
nIndex
];
TRACE
(
"(%s:%d)
\n
"
,
debugstr_w
(
*
value
),
*
nValue
);
return
S_OK
;
}
...
...
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