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
?
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
?