Troubleshooting GetTempDirectory

Verify that the IsProductLaunchedInYourEnvironmentfunction returns TRUE when running in the scheduler environment. Verify that the temporary directory name is a valid ASCII string.

Verify that, if argument buffer is NULL, the required length of the buffer is stored in the location to which argument length points, and TRUE returns. The required buffer length must include space for the string null terminator.

Verify that, if argument buffer is not NULL and the value to which argument length points (the buffer length) is large enough to contain the temporary directory path name, including the terminal null byte, then the temporary directory path name is copied to the buffer and TRUE returns.