Troubleshooting GetTempDirectory
Verify that the IsProductLaunchedInYourEnvironment
function returns true
when running in the scheduler environment.
Verify that the temporary directory name is a valid ASCII string.
If the buffer
argument is NULL, verify that the required
length of the buffer is stored in the location to which the length
argument points, and true
is returned. The required buffer length must include
space for the string null terminator.
If the buffer
argument is not NULL and the value
to which length
points (the buffer length) is large enough
to contain the temporary directory pathname, including the terminal null
byte, verify that the temporary directory pathname is copied to the buffer and
true
is returned.