pszName (PSZ) - input

      Address of the name of the environment variable.

      Do not include a trailing equal sign ( = ), since this is not part of the name.

    ppszValue (PSZ *) - output

      A pointer to the PSZ in which a pointer to the environment string is returned by the system.

      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

      Return Code.

      DosScanEnv returns the following values:

    • NO_ERROR 203
        ERROR_ENVVAR_NOT_FOUND
      For a full list of error codes, see Errors.


    [Back] [Next]