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
521467fd
Commit
521467fd
authored
Apr 23, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Added getName() for IMXAttributes.
parent
9a509594
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
5 deletions
+23
-5
mxwriter.c
dlls/msxml3/mxwriter.c
+23
-5
No files found.
dlls/msxml3/mxwriter.c
View file @
521467fd
...
...
@@ -1818,13 +1818,31 @@ static HRESULT WINAPI SAXAttributes_getQName(ISAXAttributes *iface, int index, c
return
S_OK
;
}
static
HRESULT
WINAPI
SAXAttributes_getName
(
ISAXAttributes
*
iface
,
int
nIndex
,
const
WCHAR
**
pUri
,
int
*
pUriLength
,
const
WCHAR
**
pLocalName
,
int
*
pLocalNameSize
,
const
WCHAR
**
pQName
,
int
*
pQNameLength
)
static
HRESULT
WINAPI
SAXAttributes_getName
(
ISAXAttributes
*
iface
,
int
index
,
const
WCHAR
**
uri
,
int
*
uri_len
,
const
WCHAR
**
local
,
int
*
local_len
,
const
WCHAR
**
qname
,
int
*
qname_len
)
{
mxattributes
*
This
=
impl_from_ISAXAttributes
(
iface
);
FIXME
(
"(%p)->(%d %p %p %p %p %p %p): stub
\n
"
,
This
,
nIndex
,
pUri
,
pUriLength
,
pLocalName
,
pLocalNameSize
,
pQName
,
pQNameLength
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%d %p %p %p %p %p %p)
\n
"
,
This
,
index
,
uri
,
uri_len
,
local
,
local_len
,
qname
,
qname_len
);
if
(
index
>=
This
->
length
||
index
<
0
)
return
E_INVALIDARG
;
if
(
!
uri
||
!
uri_len
||
!
local
||
!
local_len
||
!
qname
||
!
qname_len
)
return
E_POINTER
;
*
uri_len
=
SysStringLen
(
This
->
attr
[
index
].
uri
);
*
uri
=
This
->
attr
[
index
].
uri
;
*
local_len
=
SysStringLen
(
This
->
attr
[
index
].
local
);
*
local
=
This
->
attr
[
index
].
local
;
*
qname_len
=
SysStringLen
(
This
->
attr
[
index
].
qname
);
*
qname
=
This
->
attr
[
index
].
qname
;
TRACE
(
"(%s, %s, %s)
\n
"
,
debugstr_w
(
*
uri
),
debugstr_w
(
*
local
),
debugstr_w
(
*
qname
));
return
S_OK
;
}
static
HRESULT
WINAPI
SAXAttributes_getIndexFromName
(
ISAXAttributes
*
iface
,
const
WCHAR
*
uri
,
int
uri_len
,
...
...
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