Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any API to get path "C:\Documents and Settings" in windows? [closed]

Is there any API to get path : "C:\Documents and Settings" in windows in c++?

not: C:\Documents and Settings\brianfu\My Documents.

Many Thanks!

Thanks for luke's solution:

GetProfilesDirectory

it works!

like image 756
sxingfeng Avatar asked Dec 29 '22 13:12

sxingfeng


1 Answers

GetProfilesDirectory

like image 165
Luke Avatar answered Dec 31 '22 04:12

Luke