Skip to content

Commit

Permalink
Rename api
Browse files Browse the repository at this point in the history
  • Loading branch information
ritsuwastaken committed Jul 30, 2024
1 parent 240db60 commit 3c86418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv

detours::Queue(L"user32.dll", "MessageBoxW", DetourMessageBoxW, (LPVOID *)&OriginalMessageBoxW);
detours::Queue(L"gdi32.dll", "SetDeviceGammaRamp", DetourSetDeviceGammaRamp, (LPVOID *)&OriginalSetDeviceGammaRamp);
detours::ApplyAll();
detours::ApplyQueued();

break;
case DLL_PROCESS_DETACH:
Expand Down

0 comments on commit 3c86418

Please sign in to comment.