 |
GetTempPath Add comment W32 Constants Translate this page |
 |
 |
|
The GetTempPath function retrieves the path of the directory designated for temporary files |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD GetTempPath(
DWORD nBufferLength, // size of buffer
LPTSTR lpBuffer // path buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetTempPath IN kernel32;
INTEGER nBufferLength,;
STRING @ lpBuffer
|
 |
 |
 |
| Parameters: |
 |
nBufferLength
[in] Specifies the size, in TCHARs, of the string buffer identified by lpBuffer.
lpBuffer
[out] Pointer to a string buffer that receives the null-terminated string specifying the temporary file path. The returned string ends with a backslash, for example, C:\TEMP\. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is the length of the string copied to lpBuffer, not including the terminating null character |
 |
 |
| Word Index links for the GetTempPath : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2003-06-24 11:42:29 | Visited in last 7 days: 34 |