winapi - ExpandEnvironmentStringsForUser variable list -


where can full list of variables, replaced winapi function?

msdn contains single example: %userprofile%.

is list full , correct? http://www.rapidee.com/en/environment-variables

call getenvironmentstrings find out environment process, @ point when make call. need parse double null-terminated string returned find name/value pairs.

note there no single definitive list of environment variables. each process maintains own private environment. environment specified when process created. typically inherits environment of parent process. not always. possible, , normal, parent process specify environment child process differs own.

note environment can change during lifetime of process. calls made setenvironmentvariable modify environment of calling process.

you should able deduce list of variables in link may or may not found in environment. environment contain of variables, or none of them. contain variables not found in list. contain no variables @ all.

learn more environment variables here: environment variables (msdn).


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo