~~Title: GetConfigPath~~
GetConfigPath && BOOL && Returns **TRUE** if the path was successfully retrieved, or **FALSE** on failure. &&
iPathType && int && [in] The type of path to retrieve. Valid values are:
|OPUSPATH_CONFIG|Folder where plugin configuration data is stored|
|OPUSPATH_STATEDATA|Folder where plugin state date is stored|
&&
pszBuf && LPTSTR && [out] Buffer to receive the folder path &&
cchMax && int && [in] Size of the supplied buffer, in characters
The **GetConfigPath** function lets you retrieve the path used for storage of plugin configuration data (user-configured, will be backed-up and exported to USB) and state data (non-user configured, eg window positions, not necessarily backed-up or exported.)
Example paths returned by this function on Windows Vista:
|OPUSPATH_CONFIG|''C:\Users\\AppData\Roaming\GPSoftware\Directory Opus\ConfigFiles\Plugins''|
|OPUSPATH_STATEDATA|''C:\Users\\AppData\Local\GPSoftware\Directory Opus\State Data\Plugins''|