C++
virtual ACDBCORE2D_PORT unsigned int getTempPath( Adesk::UInt32 lBufferSize, ACHAR* pcBuffer );
Description
The database will call this method to get the path for temporary files for your application. The default implementation is to call the Win32 API GetTempPath(). If the method is unsuccessful, you should return 0. If it was successful, return the length in characters of the string copied to pcBuffer, not including the null terminator. If the size of the buffer needed to hold the path is greater than lBufferSize, return the length, in characters, of the size buffer actually needed.
Parameters
Parameters | Description |
---|---|
lBufferSize | Size of the output character buffer |
pcBuffer | Buffer to hold the result |