That shit was deprecated back in Windows XP! Service pack nothing, I'm talking RELEASE DAY.
This commit is contained in:
@@ -6,8 +6,8 @@ static RString GetSpecialFolderPath( int csidl )
|
||||
{
|
||||
RString sDir;
|
||||
TCHAR szDir[MAX_PATH] = "";
|
||||
BOOL bResult = SHGetSpecialFolderPath( NULL, szDir, csidl, FALSE );
|
||||
ASSERT( bResult );
|
||||
HRESULT hResult = SHGetFolderPath( NULL, csidl, NULL, SHGFP_TYPE_CURRENT, szDir );
|
||||
ASSERT( hResult == S_OK );
|
||||
sDir = szDir;
|
||||
sDir += "/";
|
||||
return sDir;
|
||||
|
||||
Reference in New Issue
Block a user