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

Function DllMain

source/NFSProStreet.FusionFix/dllmain.cpp:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109BOOL APIENTRY DllMain(HMODULE hModule, DWORD reason, LPVOID lpReserved)
110{
111 if (reason == DLL_PROCESS_ATTACH)
112 {
113 if (!IsUALPresent()) { InitializeASI(); }
114 }
115 else if (reason == DLL_PROCESS_DETACH)
116 {
117 WFP::onShutdownEvent().executeAll();
118 }
119 return TRUE;

Callers

nothing calls this directly

Calls 2

IsUALPresentFunction · 0.85
InitializeASIFunction · 0.70

Tested by

no test coverage detected