msxml3: Implement get_prefix.
This commit is contained in:
parent
a430b37355
commit
38634f0eb9
|
@ -1169,8 +1169,26 @@ static HRESULT WINAPI xmlnode_get_prefix(
|
|||
IXMLDOMNode *iface,
|
||||
BSTR* prefixString)
|
||||
{
|
||||
FIXME("\n");
|
||||
return E_NOTIMPL;
|
||||
xmlnode *This = impl_from_IXMLDOMNode( iface );
|
||||
HRESULT hr = S_FALSE;
|
||||
xmlNsPtr *pNSList;
|
||||
|
||||
TRACE("%p %p\n", This, prefixString );
|
||||
|
||||
if(!prefixString)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*prefixString = NULL;
|
||||
|
||||
pNSList = xmlGetNsList(This->node->doc, This->node);
|
||||
if(pNSList)
|
||||
{
|
||||
*prefixString = bstr_from_xmlChar( pNSList[0]->prefix );
|
||||
|
||||
hr = S_OK;
|
||||
}
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI xmlnode_get_baseName(
|
||||
|
|
Loading…
Reference in New Issue