Commit b92f1431 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed DLL_PROCESS_DETACH handler to actually unregister the window

classes.
parent 627aeca2
......@@ -962,8 +962,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
break;
case DLL_PROCESS_DETACH:
UnregisterClassW(wszClassName, hinstDLL);
UnregisterClassA("RichEdit20A", hinstDLL);
UnregisterClassW(wszClassName, 0);
UnregisterClassW(wszClassName50, 0);
UnregisterClassA("RichEdit20A", 0);
UnregisterClassA("RichEdit50A", 0);
HeapDestroy (me_heap);
me_heap = NULL;
break;
......
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