From 45115dd792a6fe3f303a87687bd8161784e07fd0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 3 Aug 2011 16:02:24 -0700 Subject: [PATCH] Fix __wine_(un)register_resources calls for latest Wine Git --- dsound_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dsound_main.c b/dsound_main.c index 641905f..1f29aac 100644 --- a/dsound_main.c +++ b/dsound_main.c @@ -76,6 +76,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dsound); DEFINE_GUID(CLSID_DirectSoundPrivate,0x11ab3ec0,0x25ec,0x11d1,0xa4,0xd8,0x00,0xc0,0x4f,0xc2,0x8a,0xca); int LogLevel = 1; + #endif static HINSTANCE instance; @@ -1065,7 +1066,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved) */ HRESULT WINAPI DllRegisterServer(void) { - return __wine_register_resources(instance, NULL); + return __wine_register_resources(instance); } /*********************************************************************** @@ -1073,6 +1074,6 @@ HRESULT WINAPI DllRegisterServer(void) */ HRESULT WINAPI DllUnregisterServer(void) { - return __wine_unregister_resources(instance, NULL); + return __wine_unregister_resources(instance); } #endif -- 2.11.4.GIT