diff --git a/dlls/mfplay/Makefile.in b/dlls/mfplay/Makefile.in index 401c0c7d64d..539240ceadc 100644 --- a/dlls/mfplay/Makefile.in +++ b/dlls/mfplay/Makefile.in @@ -1,6 +1,6 @@ MODULE = mfplay.dll -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ player.c diff --git a/dlls/mfplay/player.c b/dlls/mfplay/player.c index d75ccfb1069..1e4f1f561f4 100644 --- a/dlls/mfplay/player.c +++ b/dlls/mfplay/player.c @@ -26,20 +26,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(mfplat); -BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) -{ - switch (reason) - { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(instance); - break; - } - - return TRUE; -} - HRESULT WINAPI MFPCreateMediaPlayer(const WCHAR *url, BOOL start_playback, MFP_CREATION_OPTIONS options, IMFPMediaPlayerCallback *callback, HWND hwnd, IMFPMediaPlayer **player) {