Showing the changes to codec/encoder/plus/src/DllEntry.cpp (1 of 1 file). Show all
Unified · Split
| @@ -34,16 +34,10 @@ · 33 unmodified lines | ||
| 34 | 34 | |
| 35 | 35 | ///////////////////////////////////////////////////////////////////////////// |
| 36 | 36 | // DLL Entry Point |
| 37 | −HANDLE g_hInstDll; | |
| 38 | 37 | |
| 39 | 38 | BOOL WINAPI DllEntryPoint (HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) { |
| 40 | − g_hInstDll = hInstance; | |
| 41 | 39 | if (DLL_PROCESS_ATTACH == dwReason) { |
| 42 | 40 | DisableThreadLibraryCalls (hInstance); |
| 43 | 41 | } |
| 44 | −// else if (DLL_PROCESS_DETACH == dwReason) | |
| 45 | −// { | |
| 46 | −// | |
| 47 | −// } | |
| 48 | 42 | return TRUE; |
| 49 | −} | |
| 43 | +} | |