From ee59b7f7236dfaa93b66123e3d2c5120ddf764ea Mon Sep 17 00:00:00 2001 From: anders_k Date: Wed, 9 Nov 2011 08:51:28 +0000 Subject: [PATCH] MGA_SHGetKnownFolderPath is not used by anyone git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6166 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/util.c | 6 ++---- Source/exehead/util.h | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) 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);