diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c index f6d9649331f..5d451679667 100644 --- a/dlls/windowscodecs/proxy.c +++ b/dlls/windowscodecs/proxy.c @@ -36,6 +36,18 @@ WINE_DEFAULT_DEBUG_CHANNEL(wincodecs); +HRESULT WINAPI IWICBitmapLock_GetDataPointer_Proxy_W(IWICBitmapLock *iface, + UINT *pcbBufferSize, BYTE **ppbData) +{ + return IWICBitmapLock_GetDataPointer(iface, pcbBufferSize, ppbData); +} + +HRESULT WINAPI IWICBitmapLock_GetStride_Proxy_W(IWICBitmapLock *iface, + UINT *pcbStride) +{ + return IWICBitmapLock_GetStride(iface, pcbStride); +} + HRESULT WINAPI IWICBitmapSource_GetSize_Proxy_W(IWICBitmapSource *iface, UINT *puiWidth, UINT *puiHeight) { diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec index c4b8873e1c2..4c30c4322d4 100644 --- a/dlls/windowscodecs/windowscodecs.spec +++ b/dlls/windowscodecs/windowscodecs.spec @@ -41,8 +41,8 @@ @ stub IWICBitmapFrameEncode_SetSize_Proxy @ stub IWICBitmapFrameEncode_SetThumbnail_Proxy @ stub IWICBitmapFrameEncode_WriteSource_Proxy -@ stub IWICBitmapLock_GetDataPointer_STA_Proxy -@ stub IWICBitmapLock_GetStride_Proxy +@ stdcall IWICBitmapLock_GetDataPointer_STA_Proxy(ptr ptr ptr) IWICBitmapLock_GetDataPointer_Proxy_W +@ stdcall IWICBitmapLock_GetStride_Proxy(ptr ptr) IWICBitmapLock_GetStride_Proxy_W @ stub IWICBitmapScaler_Initialize_Proxy @ stdcall IWICBitmapSource_CopyPalette_Proxy(ptr ptr) IWICBitmapSource_CopyPalette_Proxy_W @ stdcall IWICBitmapSource_CopyPixels_Proxy(ptr ptr long long ptr) IWICBitmapSource_CopyPixels_Proxy_W