Piotr Caban : msxml3: Add ISAXAttributes_getValueFromName implementation.
Alexandre Julliard
julliard at winehq.org
Thu Aug 21 10:02:34 CDT 2008
Module: wine
Branch: master
Commit: c9893d176d4deb3a11b8e6ab035bc98455ac894d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9893d176d4deb3a11b8e6ab035bc98455ac894d
Author: Piotr Caban <piotr.caban at gmail.com>
Date: Wed Aug 20 18:31:17 2008 +0200
msxml3: Add ISAXAttributes_getValueFromName implementation.
---
dlls/msxml3/saxreader.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 2a9f628..64ad0b1 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -839,11 +839,17 @@ static HRESULT WINAPI isaxattributes_getValueFromName(
const WCHAR **pValue,
int *nValue)
{
+ HRESULT hr;
+ int index;
saxattributes *This = impl_from_ISAXAttributes( iface );
-
- FIXME("(%p)->(%s, %d, %s, %d) stub\n", This, debugstr_w(pUri), nUri,
+ TRACE("(%p)->(%s, %d, %s, %d)\n", This, debugstr_w(pUri), nUri,
debugstr_w(pLocalName), nLocalName);
- return E_NOTIMPL;
+
+ hr = ISAXAttributes_getIndexFromName(iface,
+ pUri, nUri, pLocalName, nLocalName, &index);
+ if(hr==S_OK) hr = ISAXAttributes_getValue(iface, index, pValue, nValue);
+
+ return hr;
}
static HRESULT WINAPI isaxattributes_getValueFromQName(
More information about the wine-cvs
mailing list