 |
CeGetTempPath ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
This function gets the path to the directory designated for temporary files. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD CeGetTempPath(
DWORD nBufferLength,
LPWSTR lpBuffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CeGetTempPath IN rapi;
INTEGER nBufferLength,;
LONG lpBuffer
|
 |
 |
 |
| Parameters: |
 |
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 (\). |
 |
 |
| Return value: |
 |
| The return value is the length, in characters, of the string copied to lpBuffer, not including the terminating null character. |
 |
 |
| My comment: |
 |
| 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. |
 |
 |
| Word Index links for the CeGetTempPath : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-06-20 13:33:57 | | Modified: | 2004-06-20 13:35:27 | Visited in last 7 days: 17 |