Get the system temp directory.
For example, on Windows this might be c:\temp, on Unix like systems this might /tmp or /var/tmp.
If the system's temp directory can not be found or is not writable, the current directory will be used.
- Parameters
-
pBuffer | A pointer to a P6WCHAR string buffer in which the temp directory path will be placed. Normally this should be P6MAXPATH characters long. |
cBuffer | The size of pBuffer in characters. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pBuffer is NULL or cBuffer is zero |
P6R::eNotInitialized | The initialize() method was not called successfully before calling this method. |
P6R::eTooSmall | The supplied buffer is too small. Try using using a buffer that is P6MAXPATH characters long |
Any valid P6ERR | |