Dmitry Timoshkov : windowscodecs: Implement MetadataReaderInfo_DoesRequireFullStream.

Alexandre Julliard julliard at winehq.org
Tue Jul 3 10:58:24 CDT 2012


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Jul  2 16:14:51 2012 +0900

windowscodecs: Implement MetadataReaderInfo_DoesRequireFullStream.

---

 dlls/windowscodecs/info.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/windowscodecs/info.c b/dlls/windowscodecs/info.c
index 36d2e87..b45a1af 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -52,6 +52,7 @@ static const WCHAR channelcount_valuename[] = {'C','h','a','n','n','e','l','C','
 static const WCHAR channelmasks_keyname[] = {'C','h','a','n','n','e','l','M','a','s','k','s',0};
 static const WCHAR numericrepresentation_valuename[] = {'N','u','m','e','r','i','c','R','e','p','r','e','s','e','n','t','a','t','i','o','n',0};
 static const WCHAR supportstransparency_valuename[] = {'S','u','p','p','o','r','t','s','T','r','a','n','s','p','a','r','e','n','c','y',0};
+static const WCHAR requiresfullstream_valuename[] = {'R','e','q','u','i','r','e','s','F','u','l','l','S','t','r','e','a','m',0};
 
 static HRESULT ComponentInfo_GetStringValue(HKEY classkey, LPCWSTR value,
     UINT buffer_size, WCHAR *buffer, UINT *actual_size)
@@ -1580,8 +1581,9 @@ static HRESULT WINAPI MetadataReaderInfo_GetDeviceModels(IWICMetadataReaderInfo
 static HRESULT WINAPI MetadataReaderInfo_DoesRequireFullStream(IWICMetadataReaderInfo *iface,
     BOOL *param)
 {
-    FIXME("(%p,%p): stub\n", iface, param);
-    return E_NOTIMPL;
+    MetadataReaderInfo *This = impl_from_IWICMetadataReaderInfo(iface);
+    TRACE("(%p,%p)\n", iface, param);
+    return ComponentInfo_GetDWORDValue(This->classkey, requiresfullstream_valuename, (DWORD *)param);
 }
 
 static HRESULT WINAPI MetadataReaderInfo_DoesSupportPadding(IWICMetadataReaderInfo *iface,




More information about the wine-cvs mailing list