X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinstore.c;h=0e7638f508954a4c78fb9778cd0597926e5acacd;hb=90e7bf4228fa74fda1c65cb2597c9d964329f702;hp=c44a9ce02a6353e7daa96baa78dca5835c3f0daa;hpb=dbbd6eb5ecdad5eb0b010e9ad4997fac53356189;p=PuTTY.git diff --git a/windows/winstore.c b/windows/winstore.c index c44a9ce0..0e7638f5 100644 --- a/windows/winstore.c +++ b/windows/winstore.c @@ -492,6 +492,12 @@ static HANDLE access_random_seed(int action) * versions of Windows. */ if (!tried_shgetfolderpath) { + /* This is likely only to bear fruit on systems with IE5+ + * installed, or WinMe/2K+. There is some faffing with + * SHFOLDER.DLL we could do to try to find an equivalent + * on older versions of Windows if we cared enough. + * However, the invocation below requires IE5+ anyway, + * so stuff that. */ shell32_module = LoadLibrary("SHELL32.DLL"); if (shell32_module) { p_SHGetFolderPath = (p_SHGetFolderPath_t)