Commit fa221f56 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msxml3: Add ISAXAttributes_getIndexFromQName implementation.

parent 0afbcd5d
......@@ -753,9 +753,22 @@ static HRESULT WINAPI isaxattributes_getIndexFromQName(
int *index)
{
saxattributes *This = impl_from_ISAXAttributes( iface );
int i;
TRACE("(%p)->(%s, %d)\n", This, debugstr_w(pQName), nQNameLength);
FIXME("(%p)->(%s, %d) stub\n", This, debugstr_w(pQName), nQNameLength);
return E_NOTIMPL;
if(!pQName || !index) return E_POINTER;
if(!nQNameLength) return E_INVALIDARG;
for(i=0; i<This->nb_attributes; i++)
{
if(nQNameLength!=SysStringLen(This->szQName[i])) continue;
if(memcmp(pQName, This->szQName, sizeof(WCHAR)*nQNameLength)) continue;
*index = i;
return S_OK;
}
return E_INVALIDARG;
}
static HRESULT WINAPI isaxattributes_getType(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment