Command
QisLib_SetWorkingDirectory

QisLib_SetWorkingDirectory

Function:
	int QisLib_SetWorkingDirectory(const char* DirPath);

Inputs:
	DirPath: Path of a valid directory to be set as the working directory.

Return:
	success: 0
	failure: one of the following values :

Errors:
	-1: QisLib has not been initialized.
	-2: The specified directory does not exist.
	-3: The specified directory does not have write permissions.
	-4: File open in progress, operation not permitted.

Description:
	- By default, QisLib generates temporary files in the directory from which the the
	program using QisLib is started.
	- To set a different working directory, call this function.
	- Following is a list of potential temporary files generated by QisLib:
	1. acs_oasis_data< number >.bin for OASIS files with CBLOCK. This OASIS temporary file
	will be generated in the specified working directory when an OASIS file is opened .
	It will keep using the file in that working directory even if the working directory
	has been changed . When a new OASIS file is opened, QisLib will generate this
	temporary file in the new working directory. This temporary file is removed when
	the OASIS file is closed , when another OASIS file is opened or when QisLib exits.
	2. Results_0.txt for GDSII, OASIS and Tiff extraction (QisLib_GetGDSII,
	QisLib_GetOASIS, QisLib_GetHiresImage, QisLib_GetHiresImageTcp). This temporary file
	will be generated in the working directory during extraction and will be removed
	after extraction is finished.

References:
QisLib_GetGDSII
QisLib_GetOASIS
QisLib_GetHiresImage
QisLib_GetHiresImageTcp