Module: wine Branch: master Commit: 10cd34db38d7b982294e123d0bcdfa67ab1af193 URL: http://source.winehq.org/git/wine.git/?a=commit;h=10cd34db38d7b982294e123d0b...
Author: André Hentschel nerv@dawncrow.de Date: Sat Mar 10 20:17:42 2012 +0100
windowscodecs: Add stub for DllCanUnloadNow.
---
dlls/windowscodecs/main.c | 5 +++++ dlls/windowscodecs/windowscodecs.spec | 1 + 2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/windowscodecs/main.c b/dlls/windowscodecs/main.c index a6588fd..8dd847e 100644 --- a/dlls/windowscodecs/main.c +++ b/dlls/windowscodecs/main.c @@ -49,6 +49,11 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) return WIC_DllMain(hinstDLL, fdwReason, lpvReserved); }
+HRESULT WINAPI DllCanUnloadNow(void) +{ + return S_FALSE; +} + HRESULT copy_pixels(UINT bpp, const BYTE *srcbuffer, UINT srcwidth, UINT srcheight, INT srcstride, const WICRect *rc, UINT dststride, UINT dstbuffersize, BYTE *dstbuffer) diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec index d0b6a7e..71022cb 100644 --- a/dlls/windowscodecs/windowscodecs.spec +++ b/dlls/windowscodecs/windowscodecs.spec @@ -1,3 +1,4 @@ +@ stdcall -private DllCanUnloadNow() @ stdcall -private DllGetClassObject(ptr ptr ptr) @ stdcall -private DllRegisterServer() @ stdcall -private DllUnregisterServer()