mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 10:39:24 +00:00
dpwsockx: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a688df4d47
commit
f13dfc38f6
|
@ -1,7 +1,7 @@
|
|||
MODULE = dpwsockx.dll
|
||||
IMPORTS = dxguid ws2_32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
dpwsockx_main.c
|
||||
|
|
|
@ -30,25 +30,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dplay);
|
||||
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
|
||||
|
||||
switch (fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
/* TODO: Initialization */
|
||||
DisableThreadLibraryCalls(hinstDLL);
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
static HRESULT WINAPI DPWSCB_EnumSessions( LPDPSP_ENUMSESSIONSDATA data )
|
||||
{
|
||||
FIXME( "(%p,%d,%p,%u) stub\n",
|
||||
|
|
Loading…
Reference in a new issue