Windows API - Temporary Folder
Doug Jenkinson <[email protected]> Tue, 20 May 2003 07:00:41 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.leech |
|---|---|
| Message-ID | <[email protected]> |
Hi again,
I saw a statement on the webpage asking if any knew of a Windows API to
retrieve the temporary folder, well, here is some information on it.
This DOES work with Windows 2000, I have NOT checked any other
versions.
Library: kernal32.dll
Function: GetTempPath(long nBufferLength, char* lpBuffer)
Arguments: nBufferLength - length of buffer
lpBuffer - string to store path name
Enjoy,
Doug Jenkinson
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com