| 30 | |
| 31 | |
| 32 | BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) |
| 33 | { |
| 34 | hModule; lpReserved; |
| 35 | |
| 36 | // only initialize when attached to a new process. setup can cause errors in OpenIL |
| 37 | // when called on a per thread basis |
| 38 | if (ul_reason_for_call == DLL_PROCESS_ATTACH) { |
| 39 | //ilutInit(); |
| 40 | } |
| 41 | |
| 42 | return TRUE; |
| 43 | } |
| 44 | #endif |
| 45 | |
| 46 | #else // Should check if gcc? |
nothing calls this directly
no outgoing calls
no test coverage detected