Commit 670c6214 authored by Alexandre Julliard's avatar Alexandre Julliard

netapi32: Don't bother to clean up at process exit.

parent 1d0fe866
...@@ -33,17 +33,14 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -33,17 +33,14 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
switch (fdwReason) { switch (fdwReason) {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
{
DisableThreadLibraryCalls(hinstDLL); DisableThreadLibraryCalls(hinstDLL);
NetBIOSInit(); NetBIOSInit();
NetBTInit(); NetBTInit();
break; break;
}
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
{ if (lpvReserved) break;
NetBIOSShutdown(); NetBIOSShutdown();
break; break;
}
} }
return TRUE; return TRUE;
......
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