Cleaned up and resolved DllMain() TODOs and issues.
This commit is contained in:
parent
80c79d31a3
commit
61bcfa1a7e
|
@ -111,10 +111,6 @@ void uiFreeInitError(const char *err)
|
|||
}
|
||||
|
||||
// TODO consider DisableThreadLibraryCalls() (will require removing ALL C runtime calls)
|
||||
// TODO make sure this is the correct name for C runtime initialization (CHECK MSDN OR THE HEADERS)
|
||||
// TODO can hinstDLL ever change?
|
||||
// TODO handle DLL_PROCESS_DETACH?
|
||||
// TODO __declspec(dllexport)?
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
if (fdwReason == DLL_PROCESS_ATTACH)
|
||||
|
|
Loading…
Reference in New Issue