1
WCHAR buff[100];
GetEnvironmentVariableW(L"APPDATA", buff, 100);

current user isn't administrator, when running as administrator, I get administrator's APPDATA.

Is there a way to get current user's APPDATA?

King
  • 41
  • 4

0 Answers0