diff --git a/Source/exehead/util.c b/Source/exehead/util.c index 04186155..0e703e42 100644 --- a/Source/exehead/util.c +++ b/Source/exehead/util.c @@ -1027,8 +1027,7 @@ struct MGA_FUNC MGA_FUNCS[] = { {"ADVAPI32", "AdjustTokenPrivileges"}, {"KERNEL32", "GetUserDefaultUILanguage"}, {"SHLWAPI", "SHAutoComplete"}, - {"SHFOLDER", "SHGetFolderPathW"}, - {"SHELL32", "SHGetKnownFolderPath"} + {"SHFOLDER", "SHGetFolderPathW"} }; #else struct MGA_FUNC MGA_FUNCS[] = { @@ -1040,8 +1039,7 @@ struct MGA_FUNC MGA_FUNCS[] = { {"ADVAPI32", "AdjustTokenPrivileges"}, {"KERNEL32", "GetUserDefaultUILanguage"}, {"SHLWAPI", "SHAutoComplete"}, - {"SHFOLDER", "SHGetFolderPathA"}, - {"SHELL32", "SHGetKnownFolderPath"} + {"SHFOLDER", "SHGetFolderPathA"} }; #endif diff --git a/Source/exehead/util.h b/Source/exehead/util.h index cedde068..03abecd0 100644 --- a/Source/exehead/util.h +++ b/Source/exehead/util.h @@ -119,7 +119,6 @@ enum myGetProcAddressFunctions { MGA_GetUserDefaultUILanguage, MGA_SHAutoComplete, MGA_SHGetFolderPath, - MGA_SHGetKnownFolderPath }; void * NSISCALL myGetProcAddress(const enum myGetProcAddressFunctions func);