Cleaned up and resolved DllMain() TODOs and issues.

This commit is contained in:
Pietro Gagliardi 2015-05-03 12:34:10 -04:00
parent 80c79d31a3
commit 61bcfa1a7e
1 changed files with 0 additions and 4 deletions

View File

@ -111,10 +111,6 @@ void uiFreeInitError(const char *err)
} }
// TODO consider DisableThreadLibraryCalls() (will require removing ALL C runtime calls) // 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) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{ {
if (fdwReason == DLL_PROCESS_ATTACH) if (fdwReason == DLL_PROCESS_ATTACH)