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

Function DllMain

source/Mafia.WidescreenFix/dllmain.cpp:819–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817
818
819BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
820{
821 if (ul_reason_for_call == DLL_PROCESS_ATTACH)
822 {
823 ReadINI("");
824 ClearLog();
825 if (Init())
826 {
827 GetGameResolution();
828 }
829 }
830 return TRUE;
831}
832
833
834#pragma region some asm

Callers

nothing calls this directly

Calls 4

ReadINIFunction · 0.85
GetGameResolutionFunction · 0.85
ClearLogFunction · 0.70
InitFunction · 0.70

Tested by

no test coverage detected