IRAPISession::CeGetTempPath (Windows Embedded CE 6.0)
1/6/2010
This function gets the path to the directory designated for temporary files on a remote Windows Embedded CE–based device.
The return value is the length, in wide characters, of the string copied to lpBuffer, not including the terminating null character. If the return value is greater than nBufferLength, the return value is the size, in characters, of the buffer required to hold the path.
If IRAPISession::CeGetTempPath fails, the return value is 0. To get extended error information, call IRAPISession::CeGetLastError and IRAPISession::CeRapiGetError.