Commit 68b11add authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent faa7af5e
MODULE = wevtapi.dll MODULE = wevtapi.dll
IMPORTLIB = wevtapi IMPORTLIB = wevtapi
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
main.c main.c
...@@ -30,22 +30,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wevtapi); ...@@ -30,22 +30,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wevtapi);
static const WCHAR log_pathW[] = L"C:\\windows\\temp\\evt.log"; static const WCHAR log_pathW[] = L"C:\\windows\\temp\\evt.log";
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:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}
EVT_HANDLE WINAPI EvtOpenSession(EVT_LOGIN_CLASS login_class, void *login, DWORD timeout, DWORD flags) EVT_HANDLE WINAPI EvtOpenSession(EVT_LOGIN_CLASS login_class, void *login, DWORD timeout, DWORD flags)
{ {
FIXME("(%u %p %u %u) stub\n", login_class, login, timeout, flags); FIXME("(%u %p %u %u) stub\n", login_class, login, timeout, flags);
......
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