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

Function DllMain

source/NFSMostWanted.WidescreenFix/dllmain.cpp:140–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

IsUALPresentFunction · 0.85
InitializeASIFunction · 0.70

Tested by

no test coverage detected