Piotr Caban : msxml3: Added ISAXAttributes_getLocalName implementation.
Alexandre Julliard
julliard at winehq.org
Thu Jul 31 07:17:55 CDT 2008
Module: wine
Branch: master
Commit: 421a9a61c45322d774152b2d8b4884ceb2dd91d0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=421a9a61c45322d774152b2d8b4884ceb2dd91d0
Author: Piotr Caban <piotr.caban at gmail.com>
Date: Wed Jul 30 20:27:07 2008 +0200
msxml3: Added ISAXAttributes_getLocalName implementation.
---
dlls/msxml3/saxreader.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 7c7e90f..e57bf6c 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -269,9 +269,14 @@ static HRESULT WINAPI isaxattributes_getLocalName(
int *pLocalNameLength)
{
saxattributes *This = impl_from_ISAXAttributes( iface );
+ TRACE("(%p)->(%d)\n", This, nIndex);
- FIXME("(%p)->(%d) stub\n", This, nIndex);
- return E_NOTIMPL;
+ if(nIndex >= This->nb_attributes) return E_INVALIDARG;
+
+ *pLocalNameLength = SysStringLen(This->szLocalname[nIndex]);
+ *pLocalName = This->szLocalname[nIndex];
+
+ return S_OK;
}
static HRESULT WINAPI isaxattributes_getQName(
More information about the wine-cvs
mailing list