Skip to content

Commit

Permalink
Update classic-file-picker-dialog.wh.cpp
Browse files Browse the repository at this point in the history
rename variales according to the new rules
  • Loading branch information
Anixx authored Aug 4, 2024
1 parent 477a469 commit 2d88030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/classic-file-picker-dialog.wh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ long CALCON CFileOpenSave__s_CreateInstance_hook(int param_1, GUID *param_2, voi
BOOL Wh_ModInit() {
HMODULE module = LoadLibrary(L"comdlg32.dll");

WindhawkUtils::SYMBOL_HOOK symbolHook[] = {
WindhawkUtils::SYMBOL_HOOK comdlg32DllHooks[] = {
{
{L"int" SCALCON L"IsCommonItemDialogAvailable(void)"},
(void**)&IsCommonItemDialogAvailable_orig,
Expand All @@ -61,7 +61,7 @@ BOOL Wh_ModInit() {
}
};

WindhawkUtils::HookSymbols(module, symbolHook, ARRAYSIZE(symbolHook));
WindhawkUtils::HookSymbols(module, comdlg32DllHooks, ARRAYSIZE(comdlg32DllHooks));

return TRUE;
}

0 comments on commit 2d88030

Please sign in to comment.