mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2955
This commit is contained in:
parent
666ac08452
commit
8bb65ab66d
|
@ -9738,5 +9738,10 @@ Rom Feb 4 2004
|
|||
lib/
|
||||
util.c,h
|
||||
|
||||
|
||||
|
||||
Rom Feb 4 2004
|
||||
- Changed from using SHGetSpecialFolder to SHGetFolderPath which now uses COM and so will
|
||||
will not throw a dynamic link error on startup for platforms that don't support it.
|
||||
|
||||
client
|
||||
win/
|
||||
win_screensaver.cpp
|
||||
|
|
|
@ -1476,7 +1476,7 @@ BOOL CScreensaver::IsConfigStartupBOINC()
|
|||
// It could be in the global startup group
|
||||
ZeroMemory( szBuffer, 512 );
|
||||
bCheckFileExists = FALSE;
|
||||
if (SHGetSpecialFolderPath(NULL, szBuffer, CSIDL_STARTUP, FALSE))
|
||||
if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_STARTUP|CSIDL_FLAG_CREATE, NULL, SHGFP_TYPE_CURRENT, szBuffer)))
|
||||
{
|
||||
TRACE(TEXT("IsConfigStartupBOINC: SHGetSpecialFolderPath - CSIDL_STARTUP - '%s'\n"), szBuffer);
|
||||
if (SUCCEEDED(StringCchCatN(szBuffer, 512, TEXT("\\BOINC.lnk"), 10)))
|
||||
|
@ -1519,7 +1519,7 @@ BOOL CScreensaver::IsConfigStartupBOINC()
|
|||
// It could be in the global startup group
|
||||
ZeroMemory( szBuffer, 512 );
|
||||
bCheckFileExists = FALSE;
|
||||
if (SHGetSpecialFolderPath(NULL, szBuffer, CSIDL_COMMON_STARTUP, FALSE))
|
||||
if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_COMMON_STARTUP|CSIDL_FLAG_CREATE, NULL, SHGFP_TYPE_CURRENT, szBuffer)))
|
||||
{
|
||||
TRACE(TEXT("IsConfigStartupBOINC: SHGetSpecialFolderPath - CSIDL_COMMON_STARTUP - '%s'\n"), szBuffer);
|
||||
if (SUCCEEDED(StringCchCatN(szBuffer, 512, TEXT("\\BOINC.lnk"), 10)))
|
||||
|
|
Loading…
Reference in New Issue