MCPcopy Create free account
hub / github.com/ThirteenAG/WidescreenFixesPack / DllMain

Function DllMain

source/NFSUnderground.WidescreenFix/dllmain.cpp:136–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136BOOL APIENTRY DllMain(HMODULE hModule, DWORD reason, LPVOID lpReserved)
137{
138 if (reason == DLL_PROCESS_ATTACH)
139 {
140 if (!IsUALPresent()) { InitializeASI(); }
141 }
142 else if (reason == DLL_PROCESS_DETACH)
143 {
144 WFP::onShutdownEvent().executeAll();
145 }
146 return TRUE;

Callers

nothing calls this directly

Calls 2

IsUALPresentFunction · 0.85
InitializeASIFunction · 0.70

Tested by

no test coverage detected