December 25, 2007

How to get the special folders of windows?

(For Windows XP)
SHGetFolderPath Function
http://msdn2.microsoft.com/en-us/library/bb762181.aspx

(For Windows Vista and later)
SHGetKnownFolderPath Function
http://msdn2.microsoft.com/en-us/library/bb762188.aspx