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;
|
RString sDir;
|
||||||
TCHAR szDir[MAX_PATH] = "";
|
TCHAR szDir[MAX_PATH] = "";
|
||||||
BOOL bResult = SHGetSpecialFolderPath( NULL, szDir, csidl, FALSE );
|
HRESULT hResult = SHGetFolderPath( NULL, csidl, NULL, SHGFP_TYPE_CURRENT, szDir );
|
||||||
ASSERT( bResult );
|
ASSERT( hResult == S_OK );
|
||||||
sDir = szDir;
|
sDir = szDir;
|
||||||
sDir += "/";
|
sDir += "/";
|
||||||
return sDir;
|
return sDir;
|
||||||
|
|||||||
Reference in New Issue
Block a user