Group: Remote Application Programming (RAPI) - Library: rapi
DWORD CeGetTempPath(
DWORD nBufferLength,
LPWSTR lpBuffer
);
DECLARE INTEGER CeGetTempPath IN rapi;
INTEGER nBufferLength,;
LONG lpBuffer
nBufferLength [in] Size of lpBuffer in characters.
lpBuffer [out] Long pointer to the buffer for the folder path. The returned string ends in a backslash ().
The return value is the length, in characters, of the string copied to lpBuffer, not including the terminating null character.
If CeGetTempPath fails, the return value is 0. To determine if a function failed because of RAPI errors, call CeRapiGetError. To determine if a function failed because of non-RAPI errors, call CeGetLastError.