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,
|
IXMLDOMNode *iface,
|
||||||
BSTR* prefixString)
|
BSTR* prefixString)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
xmlnode *This = impl_from_IXMLDOMNode( iface );
|
||||||
return E_NOTIMPL;
|
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(
|
static HRESULT WINAPI xmlnode_get_baseName(
|
||||||
|
|
Loading…
Reference in New Issue