Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDir::getTempDir ( P6WCHAR pBuffer,
P6UINT32  cBuffer 
)
pure virtual

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
pBufferA pointer to a P6WCHAR string buffer in which the temp directory path will be placed. Normally this should be P6MAXPATH characters long.
cBufferThe size of pBuffer in characters.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpBuffer is NULL or cBuffer is zero
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.
P6R::eTooSmallThe supplied buffer is too small. Try using using a buffer that is P6MAXPATH characters long
Any valid P6ERR