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