pszName (PSZ) - input
Do not include a trailing equal sign ( = ), since this is not part of the name.
ppszValue (PSZ *) - output
ppszValue points to the first character of the string that is the value of the environment variable, and can be passed directly to DosSearchPath.
ulrc (APIRET) - returns
DosScanEnv returns the following values: