Skip to content

Commit

Permalink
Update Devcon.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Aug 21, 2024
1 parent 8541889 commit 887dd2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Devcon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,8 @@ std::expected<void, Win32Error> nefarius::devcon::InfDefaultInstall(

InstallHinfSectionW(nullptr, nullptr, pszDest, 0);

const DWORD postInstallError = GetLastError();

DetourTransactionBegin();
DetourUpdateThread(GetCurrentThread());
DetourDetach((void**)&real_MessageBoxW, DetourMessageBoxW); // NOLINT(clang-diagnostic-microsoft-cast)
Expand Down

0 comments on commit 887dd2f

Please sign in to comment.