Piotr Caban : msxml3: Add ISAXAttributes_getValueFromQName implementation.

Alexandre Julliard julliard at winehq.org
Thu Aug 21 10:02:35 CDT 2008


Module: wine
Branch: master
Commit: 655155feb810bda6e42f663a9fead83cf53f2910
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=655155feb810bda6e42f663a9fead83cf53f2910

Author: Piotr Caban <piotr.caban at gmail.com>
Date:   Wed Aug 20 18:31:39 2008 +0200

msxml3: Add ISAXAttributes_getValueFromQName implementation.

---

 dlls/msxml3/saxreader.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 64ad0b1..7affb4a 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -859,10 +859,15 @@ static HRESULT WINAPI isaxattributes_getValueFromQName(
         const WCHAR **pValue,
         int *nValue)
 {
+    HRESULT hr;
+    int index;
     saxattributes *This = impl_from_ISAXAttributes( iface );
+    TRACE("(%p)->(%s, %d)\n", This, debugstr_w(pQName), nQName);
 
-    FIXME("(%p)->(%s, %d) stub\n", This, debugstr_w(pQName), nQName);
-    return E_NOTIMPL;
+    hr = ISAXAttributes_getIndexFromQName(iface, pQName, nQName, &index);
+    if(hr==S_OK) hr = ISAXAttributes_getValue(iface, index, pValue, nValue);
+
+    return hr;
 }
 
 static const struct ISAXAttributesVtbl isaxattributes_vtbl =




More information about the wine-cvs mailing list