MCPcopy Create free account
hub / github.com/DentonW/DevIL / DllMain

Function DllMain

DevIL/src-ILUT/src/ilut_main.cpp:32–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32BOOL 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?

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected