Did you try SHGetFolderPath function?