IRAPISession::CeGetTempPath (Windows Embedded CE 6.0)
This function gets the path to the directory designated for temporary files on a remote Windows Embedded CE–based device.
DWORD CeGetTempPath( DWORD nBufferLength, LPWSTR lpBuffer );
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.