Commit 93c551ab authored by Alexandre Julliard's avatar Alexandre Julliard

activeds: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent bad1ff15
...@@ -2,7 +2,7 @@ MODULE = activeds.dll ...@@ -2,7 +2,7 @@ MODULE = activeds.dll
IMPORTLIB = activeds IMPORTLIB = activeds
IMPORTS = advapi32 ole32 oleaut32 uuid IMPORTS = advapi32 ole32 oleaut32 uuid
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
activeds_main.c \ activeds_main.c \
......
...@@ -41,24 +41,6 @@ ...@@ -41,24 +41,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(activeds); WINE_DEFAULT_DEBUG_CHANNEL(activeds);
/***************************************************** /*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinstDLL );
break;
}
return TRUE;
}
/*****************************************************
* ADsGetObject [ACTIVEDS.3] * ADsGetObject [ACTIVEDS.3]
*/ */
HRESULT WINAPI ADsGetObject(LPCWSTR path, REFIID riid, void **obj) HRESULT WINAPI ADsGetObject(LPCWSTR path, REFIID riid, void **obj)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment