Instructs the session to use the directory specified as TmpDrive2 in the PC configuration files, for the storage of local information.
BOOL |
LceUseTmpDrive2 |
(int |
iSession ) |
Parameters
iSession |
The session identifier as returned by LceGetSessionId. |
Return Values
TRUE is returned if the session can perform the function.
FALSE is returned if an error occurs.
Notes
LANSA Open uses local (temporary) files on the PC to store information. The actual drives used are specified in the Registry file. Two temporary drives can be specified. Using this function indicates that the local information is to be stored in the second temporary drive.
Using this function out of sequence will cause your application to fail or produce unreliable results. For example, if you transfer data using an LceSelect function and then follow it with an LceUseTmpDrive2 function, your application will not find the selected data as it would have been stored on temporary drive 1. For this reason, frequent use of this function is not recommended.