msxml3: Implement getLocalName() for IMXAttributes.

This commit is contained in:
Nikolay Sivov 2012-04-24 11:30:24 +04:00 committed by Alexandre Julliard
parent 075775a81b
commit 3f5ec72fcf
1 changed files with 12 additions and 4 deletions

View File

@ -1795,12 +1795,20 @@ static HRESULT WINAPI SAXAttributes_getURI(ISAXAttributes *iface, int nIndex, co
return E_NOTIMPL;
}
static HRESULT WINAPI SAXAttributes_getLocalName(ISAXAttributes *iface, int nIndex, const WCHAR **localName,
int *length)
static HRESULT WINAPI SAXAttributes_getLocalName(ISAXAttributes *iface, int index, const WCHAR **name,
int *len)
{
mxattributes *This = impl_from_ISAXAttributes( iface );
FIXME("(%p)->(%d %p %p): stub\n", This, nIndex, localName, length);
return E_NOTIMPL;
TRACE("(%p)->(%d %p %p)\n", This, index, name, len);
if (index >= This->length || index < 0) return E_INVALIDARG;
if (!name || !len) return E_POINTER;
*len = SysStringLen(This->attr[index].local);
*name = This->attr[index].local;
return S_OK;
}
static HRESULT WINAPI SAXAttributes_getQName(ISAXAttributes *iface, int index, const WCHAR **qname, int *length)